Commit f4f0b449 authored by Mike Gabriel's avatar Mike Gabriel

nx-X11: Enable -Wpedantic as default CFLAG. This is to detect redefined typedefs…

nx-X11: Enable -Wpedantic as default CFLAG. This is to detect redefined typedefs when building nxagent.
parent b50b0af9
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
/* /*
* This allows the GCC warning flags to be set. The default is shown here. * This allows the GCC warning flags to be set. The default is shown here.
* *
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \ #define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \ -Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs -Wredundant-decls -Wnested-externs
*/ */
......
...@@ -743,11 +743,11 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese ...@@ -743,11 +743,11 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
# endif # endif
# ifndef GccWarningOptions # ifndef GccWarningOptions
# if XFree86Devel # if XFree86Devel
# define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \ # define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \ -Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs Gcc28Warnings -Wredundant-decls -Wnested-externs Gcc28Warnings
# else # else
# define GccWarningOptions -Wall -Wpointer-arith Gcc28Warnings # define GccWarningOptions -Wall -Wpedantic -Wpointer-arith Gcc28Warnings
# endif # endif
# endif # endif
# ifndef DefaultCCOptions # ifndef DefaultCCOptions
......
...@@ -112,7 +112,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $ ...@@ -112,7 +112,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
/* /*
* This allows the GCC warning flags to be set. The default is shown here. * This allows the GCC warning flags to be set. The default is shown here.
* *
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \ #define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \ -Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs -Wredundant-decls -Wnested-externs
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment