[PATCH libevdev] test-compile-pedantic: replace -Wpedantic with -pedantic
Peter Hutterer
peter.hutterer at who-t.net
Mon Nov 25 15:52:45 PST 2013
On Mon, Nov 25, 2013 at 11:13:02AM -0500, Gaetan Nadon wrote:
> Looks like a typo.
not quite, it changed between gcc versions. The gcc 4.4.7 man page lists
-pedantic, gcc 4.8.2 lists -Wpedantic (with -pedantic still being
supported). Too lazy to check which version introduced it, but for backwards
compat support -pedantic is better. I'll merge your patch with an updated
commit message, thanks.
Cheers,
Peter
>
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
> test/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/Makefile.am b/test/Makefile.am
> index 8cdd370..f3102ea 100644
> --- a/test/Makefile.am
> +++ b/test/Makefile.am
> @@ -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
>
> --
> 1.7.9.5
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools
More information about the Input-tools
mailing list