https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85850
Bug ID: 85850 Summary: [9.0 Regression] gcc 9.0 doesn't compile with Xcode 9.3.1 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- gcc doesn't compile any more under Darwin 17.5 with Xcode 9.3.1 producing the following error (cf. below). # g++ --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 9.1.0 (clang-902.0.39.1) Target: x86_64-apple-darwin17.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin mkdir -p -- .deps g++ -std=gnu++98 -I../../../libcpp -I. -I../../../libcpp/../include -I../../../libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../libcpp -I. -I../../../libcpp/../include -I../../../libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo ../../../libcpp/charset.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../libcpp/charset.c:21: ../../../libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ In file included from ../../../libcpp/charset.c:21: In file included from ../../../libcpp/system.h:442: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/new:89: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception:180:5: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'? _VSTD::abort(); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:441:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ ../../../libcpp/system.h:399:13: note: 'fancy_abort' declared here extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; ^ In file included from ../../../libcpp/charset.c:22: ../../../libcpp/include/cpplib.h:789:14: warning: private field 'm_line_table' is not used [-Wunused-private-field] line_maps *m_line_table; ^ 3 warnings and 1 error generated.