From df4570b90eddcc9c3826340c4db19cba4a91a9b9 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 16 Mar 2011 16:22:08 +0000 Subject: [PATCH] Change language dialect to gnu99 from c99 - earlier commit required this, but I forgot to commit the GNUmakefile change. Note: the anonymous structure field extension that requires this is part of C1X, so we can probably change this to --std=c11 once C1X is actually finalised. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index a485bcd..9dd381f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -74,7 +74,7 @@ libobjc_CPPFLAGS += -D__OBJC_RUNTIME_INTERNAL__=1 -D_XOPEN_SOURCE=500 # Note to Riccardo. Please do not 'fix' C99isms in this. The new ABI is only # useful on compilers that support C99 (currently only clang), so there is no # benefit from supporting platforms with no C99 compiler. -libobjc_CFLAGS += -std=c99 -g -fexceptions #-fvisibility=hidden +libobjc_CFLAGS += -std=gnu99 -g -fexceptions #-fvisibility=hidden # Uncomment this when debugging - it makes everything slow, but means that the # debugger actually works... #libobjc_CFLAGS += -fno-inline