aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/config/cf/host.def2
-rw-r--r--nx-X11/config/cf/xorg.cf4
-rw-r--r--nx-X11/config/cf/xorgsite.def2
3 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/config/cf/host.def b/nx-X11/config/cf/host.def
index beb6e83cb..bdf440fbc 100644
--- a/nx-X11/config/cf/host.def
+++ b/nx-X11/config/cf/host.def
@@ -229,7 +229,7 @@
/*
* 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 \
-Wredundant-decls -Wnested-externs
*/
diff --git a/nx-X11/config/cf/xorg.cf b/nx-X11/config/cf/xorg.cf
index b05ed5fd0..9fb92c61f 100644
--- a/nx-X11/config/cf/xorg.cf
+++ b/nx-X11/config/cf/xorg.cf
@@ -743,11 +743,11 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
# endif
# ifndef GccWarningOptions
# if XFree86Devel
-# define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
+# define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs Gcc28Warnings
# else
-# define GccWarningOptions -Wall -Wpointer-arith Gcc28Warnings
+# define GccWarningOptions -Wall -Wpedantic -Wpointer-arith Gcc28Warnings
# endif
# endif
# ifndef DefaultCCOptions
diff --git a/nx-X11/config/cf/xorgsite.def b/nx-X11/config/cf/xorgsite.def
index 86b6abdbc..18fd96dbe 100644
--- a/nx-X11/config/cf/xorgsite.def
+++ b/nx-X11/config/cf/xorgsite.def
@@ -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.
*
-#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
+#define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs
*/