gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../propgcc/binutils/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../../propgcc/binutils/libiberty/cplus-dem.c -o cplus-dem.o In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:48: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/sys/types.h:121: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/sys/_types/_pid_t.h:30:31: error: cannot combine with previous 'type-name' declaration specifier typedef __darwin_pid_t pid_t; ^ ../../../propgcc/binutils/libiberty/config.h:487:15: note: expanded from macro 'pid_t' #define pid_t int ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:48: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/sys/types.h:163: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/sys/_types/_ssize_t.h:30:33: error: cannot combine with previous 'type-name' declaration specifier typedef __darwin_ssize_t ssize_t; ^ ../../../propgcc/binutils/libiberty/config.h:490:17: note: expanded from macro 'ssize_t' #define ssize_t int ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:628:12: error: expected parameter declarator extern int snprintf (char *, size_t, const char *, ...) ATTRIBUTE_PRINTF_3; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:628:12: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ ../../../propgcc/binutils/libiberty/../include/libiberty.h:628:12: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:57:28: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:628:57: error: 'nonnull' attribute parameter 1 is out of bounds extern int snprintf (char *, size_t, const char *, ...) ATTRIBUTE_PRINTF_3; ^~~~~~~~~~~~~~~~~~ ../../../propgcc/binutils/libiberty/../include/ansidecl.h:324:28: note: expanded from macro 'ATTRIBUTE_PRINTF_3' #define ATTRIBUTE_PRINTF_3 ATTRIBUTE_PRINTF(3, 4) ^ ~ ../../../propgcc/binutils/libiberty/../include/ansidecl.h:321:80: note: expanded from macro 'ATTRIBUTE_PRINTF' #define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) ATTRIBUTE_NONNULL(m) ^ ../../../propgcc/binutils/libiberty/../include/ansidecl.h:301:48: note: expanded from macro 'ATTRIBUTE_NONNULL' # define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m))) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:628:57: error: 'format' attribute parameter 2 is out of bounds extern int snprintf (char *, size_t, const char *, ...) ATTRIBUTE_PRINTF_3; ^~~~~~~~~~~~~~~~~~ ../../../propgcc/binutils/libiberty/../include/ansidecl.h:324:28: note: expanded from macro 'ATTRIBUTE_PRINTF_3' #define ATTRIBUTE_PRINTF_3 ATTRIBUTE_PRINTF(3, 4) ^ ~ ../../../propgcc/binutils/libiberty/../include/ansidecl.h:321:48: note: expanded from macro 'ATTRIBUTE_PRINTF' #define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:628:12: error: conflicting types for '__builtin___snprintf_chk' extern int snprintf (char *, size_t, const char *, ...) ATTRIBUTE_PRINTF_3; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ ../../../propgcc/binutils/libiberty/../include/libiberty.h:628:12: note: '__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int, unsigned long, const char *, ...)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:633:12: error: expected parameter declarator extern int vsnprintf (char *, size_t, const char *, va_list) ATTRIBUTE_PRINTF(3,0); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:75:40: note: expanded from macro 'vsnprintf' __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:633:12: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:75:40: note: expanded from macro 'vsnprintf' __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) ^ ../../../propgcc/binutils/libiberty/../include/libiberty.h:633:12: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:75:29: note: expanded from macro 'vsnprintf' __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:633:62: error: 'nonnull' attribute parameter 1 is out of bounds extern int vsnprintf (char *, size_t, const char *, va_list) ATTRIBUTE_PRINTF(3,0); ^ ~ ../../../propgcc/binutils/libiberty/../include/ansidecl.h:321:80: note: expanded from macro 'ATTRIBUTE_PRINTF' #define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) ATTRIBUTE_NONNULL(m) ^ ../../../propgcc/binutils/libiberty/../include/ansidecl.h:301:48: note: expanded from macro 'ATTRIBUTE_NONNULL' # define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m))) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:633:62: error: 'format' attribute parameter 2 is out of bounds extern int vsnprintf (char *, size_t, const char *, va_list) ATTRIBUTE_PRINTF(3,0); ^ ~ ../../../propgcc/binutils/libiberty/../include/ansidecl.h:321:48: note: expanded from macro 'ATTRIBUTE_PRINTF' #define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../../propgcc/binutils/libiberty/cplus-dem.c:59: In file included from ../../../propgcc/binutils/libiberty/../include/demangle.h:33: ../../../propgcc/binutils/libiberty/../include/libiberty.h:633:12: error: conflicting types for '__builtin___vsnprintf_chk' extern int vsnprintf (char *, size_t, const char *, va_list) ATTRIBUTE_PRINTF(3,0); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:75:3: note: expanded from macro 'vsnprintf' __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) ^ ../../../propgcc/binutils/libiberty/../include/libiberty.h:633:12: note: '__builtin___vsnprintf_chk' is a builtin with type 'int (char *, unsigned long, int, unsigned long, const char *, __va_list_tag *)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:75:3: note: expanded from macro 'vsnprintf' __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) ^ ../../../propgcc/binutils/libiberty/cplus-dem.c:578:3: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' abort (); ^ ../../../propgcc/binutils/libiberty/cplus-dem.c:578:3: note: please include the header or explicitly provide a declaration for 'abort' ../../../propgcc/binutils/libiberty/cplus-dem.c:1220:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free ((char *) work -> btypevec); ^ ../../../propgcc/binutils/libiberty/cplus-dem.c:3313:20: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] qualifiers = atoi (num); ^ 3 warnings and 12 errors generated. make[2]: *** [cplus-dem.o] Error 1 make[1]: *** [all-libiberty] Error 2 make: *** [all] Error 2 binutils make failed.