From 4953c651de3ae0298c87e4c09107bee7adebe8e4 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 9 Jan 2020 20:54:53 +0100 Subject: nxagent: build with -Wshadow to detect shadowing variables --- nx-X11/config/cf/xorg.cf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nx-X11/config/cf/xorg.cf') diff --git a/nx-X11/config/cf/xorg.cf b/nx-X11/config/cf/xorg.cf index 0444d18cc..8d39c338a 100644 --- a/nx-X11/config/cf/xorg.cf +++ b/nx-X11/config/cf/xorg.cf @@ -720,9 +720,9 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese # if XFree86Devel # define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations \ - -Wredundant-decls -Wnested-externs Gcc28Warnings + -Wredundant-decls -Wnested-externs -Wshadow Gcc28Warnings # else -# define GccWarningOptions -Wall -Wpedantic -Wpointer-arith Gcc28Warnings +# define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wshadow Gcc28Warnings # endif # endif # ifndef DefaultCCOptions -- cgit v1.2.3