From 40ed06bf1708fc984e6a62d2bd873d628a7c4ddd Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Tue, 1 Apr 2014 22:07:48 +0100 Subject: [PATCH] Clang can compile eventsql.c with -pedantic but gcc cannot. Copied from Perforce Change: 185137 ServerID: perforce.ravenbrook.com --- mps/code/gc.gmk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mps/code/gc.gmk b/mps/code/gc.gmk index 3b7f0e664b9..608ced354b0 100644 --- a/mps/code/gc.gmk +++ b/mps/code/gc.gmk @@ -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