https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> 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)
>                                             ^

This error is correct because with the preprocessor && does not short cutting
if the first operand is true.

So look like we need a fixincludes of this issue.  You should also report this
bug to Apple too since their headers don't support C99/C++98 preprocessors
correctly.

Reply via email to