On Jul 8, 2005, at 8:13 PM, Fariborz Jahanian wrote:
Tried building fsf mainline on x86-darwin. Syntax error compiling c-common.c. The preprocessed file shows the following:
This is a darwin specific bug and was introduced by Geoff K.'s patch today.
I committed this as obvious to fix the bug. Thanks, Andrew Pinski ChangeLog: * config/darwin.h (TARGET_C99_FUNCTIONS): Define to 1.
Index: config/darwin.h =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/darwin.h,v retrieving revision 1.123 diff -u -p -r1.123 darwin.h --- config/darwin.h 8 Jul 2005 05:50:48 -0000 1.123 +++ config/darwin.h 9 Jul 2005 00:40:16 -0000 @@ -1029,7 +1029,7 @@ void add_framework_path (char *); #define TARGET_HAS_F_SETLKW /* All new versions of Darwin have C99 functions. */ -#define TARGET_C99_FUNCTIONS +#define TARGET_C99_FUNCTIONS 1 #define WINT_TYPE "int"