aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-10-01 11:00:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-10-01 11:04:44 +0200
commitf4f0b4490962cb82f9ef4cf88356abcfea7eebf2 (patch)
tree11d4b9db95147ff6c1f17ba817b2cd87da71116b /nx-X11
parentb50b0af97f38d025a48fd0b9c2f03109a6dc55f1 (diff)
downloadnx-libs-f4f0b4490962cb82f9ef4cf88356abcfea7eebf2.tar.gz
nx-libs-f4f0b4490962cb82f9ef4cf88356abcfea7eebf2.tar.bz2
nx-libs-f4f0b4490962cb82f9ef4cf88356abcfea7eebf2.zip
nx-X11: Enable -Wpedantic as default CFLAG. This is to detect redefined typedefs when building nxagent.
Diffstat (limited to 'nx-X11')
-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
*/