1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-23 23:36:27 -07:00

Clang can compile eventsql.c with -pedantic but gcc cannot.

Copied from Perforce
 Change: 185137
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-04-01 22:07:48 +01:00
parent 5a035142d0
commit 40ed06bf17

View file

@ -13,7 +13,6 @@ CC = gcc
CFLAGSDEBUG = -O -g3
CFLAGSOPT = -O2 -g3
CFLAGSCOMPILER := \
-pedantic \
-Waggregate-return \
-Wall \
-Wcast-qual \
@ -27,7 +26,7 @@ CFLAGSCOMPILER := \
-Wstrict-aliasing=2 \
-Wstrict-prototypes \
-Wwrite-strings
CFLAGSCOMPILERSTRICT := -ansi
CFLAGSCOMPILERSTRICT := -ansi -pedantic
# A different set of compiler flags for less strict compilation, for
# instance when we need to #include a third-party header file that