https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like the Mac OS X's headers are not C99/C++98 compatible at all: /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/Availability.h:174:44: error: missing binary operator before token "(" #if defined(__has_feature) && __has_feature(attribute_availability_with_message) ^