Commit 0d460dcd authored by dimbor's avatar dimbor

for old gcc: s/Wpedantic/pedantic/g

parent f50904e7
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,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 -Wpedantic -Wpointer-arith -Wstrict-prototypes \ #define GccWarningOptions -Wall -pedantic -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \ -Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs -Wredundant-decls -Wnested-externs
*/ */
......
...@@ -711,11 +711,11 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese ...@@ -711,11 +711,11 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
# endif # endif
# ifndef GccWarningOptions # ifndef GccWarningOptions
# if XFree86Devel # if XFree86Devel
# define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wstrict-prototypes \ # define GccWarningOptions -Wall -pedantic -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 -Wpedantic -Wpointer-arith Gcc28Warnings # define GccWarningOptions -Wall -pedantic -Wpointer-arith Gcc28Warnings
# endif # endif
# endif # endif
# ifndef DefaultCCOptions # ifndef DefaultCCOptions
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,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 -Wpedantic -Wpointer-arith -Wstrict-prototypes \ #define GccWarningOptions -Wall -pedantic -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