Re: Bug 61407 - Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3

2014-06-17 Thread Mike Stump
On Jun 17, 2014, at 4:09 AM, Илья Михальцов wrote: > This patch fixes gcc build problems on the latest OS X 10.10 SDK beta (see > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407) fix include hack to add: > +#ifndef __has_feature > +#define __has_feature(x) 0 > +#endif So, I’d like to bring

Re: Bug 61407 - Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3

2014-06-17 Thread Bernhard Reutner-Fischer
On 17 June 2014 13:10:07 Илья Михальцов wrote: index 892ba35..39f795f 100644 --- a/gcc/config/darwin-c.c +++ b/gcc/config/darwin-c.c @@ -572,20 +572,31 @@ find_subframework_header (cpp_reader *pfile, const char *header, cpp_dir **dirp) /* Return the value of darwin_macosx_version_min suitab

Bug 61407 - Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3

2014-06-17 Thread Илья Михальцов
Hello. This patch fixes gcc build problems on the latest OS X 10.10 SDK beta (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407) fixincludes/ChangeLog * inclhack.def (darwin14_has_feature): New fix * fixincl.x: Regenerate * tests/base/Availability.h: Added gcc/Chang