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:
parent
5a035142d0
commit
40ed06bf17
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue