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.
This commit is contained in:
theraven 2011-03-16 16:22:08 +00:00
parent d6455e2a65
commit df4570b90e

View File

@ -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