From f4f0b4490962cb82f9ef4cf88356abcfea7eebf2 Mon Sep 17 00:00:00 2001
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Date: Sat, 1 Oct 2016 11:00:01 +0200
Subject: nx-X11: Enable -Wpedantic as default CFLAG. This is to detect
 redefined typedefs when building nxagent.

---
 nx-X11/config/cf/xorgsite.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'nx-X11/config/cf/xorgsite.def')

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
  */
-- 
cgit v1.2.3

