Skip to content

tests: Fix a pragma warning on FreeBSD

Philip Withnall requested to merge pwithnall/glib:diagnostic-pragma-fix into master

This fixes the following warning, by making the compiler checks for the pop match those for the push:

[221/1124] Compiling C object 'glib/tests/d796b50@@mem-overflow@exe/mem-overflow.c.o'.
../glib/tests/mem-overflow.c:204:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
 #pragma GCC diagnostic pop

Signed-off-by: Philip Withnall withnall@endlessm.com

Merge request reports