test-compile-pedantic: replace -Wpedantic with -pedantic
authorGaetan Nadon <memsize@videotron.ca>
Mon, 25 Nov 2013 16:13:02 +0000 (11:13 -0500)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 25 Nov 2013 23:53:08 +0000 (09:53 +1000)
-Wpedantic is a relatively new option, with -pedantic being the old version of
it that works on older gcc versions too.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/Makefile.am

index 8cdd370624a4ac73264916ec6e682f7b1e196bca..f3102ea808e96784fe25e5659619e7ba2ec79846 100644 (file)
@@ -34,7 +34,7 @@ test_libevdev_SOURCES = \
 test_libevdev_LDADD =  $(CHECK_LIBS) $(GCOV_LDFLAGS)
 
 test_compile_pedantic_SOURCES = test-compile-pedantic.c
-test_compile_pedantic_CFLAGS = $(AM_CPPFLAGS) -Wpedantic -Werror -std=c90
+test_compile_pedantic_CFLAGS = $(AM_CPPFLAGS) -pedantic -Werror -std=c90
 
 if GCOV_ENABLED