[Bug target/116827] New C++ failures in macOS 15

2024-09-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #7 from Iain Sandoe --- (In reply to Francois-Xavier Coudert from comment #6) > (In reply to Jonathan Wakely from comment #5) > > > #if defined(__has_feature) && __has_feature(modules) > > > > This is a bug. If __has_feature is _not

[Bug target/116827] New C++ failures in macOS 15

2024-09-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #6 from Francois-Xavier Coudert --- (In reply to Jonathan Wakely from comment #5) > > #if defined(__has_feature) && __has_feature(modules) > > This is a bug. If __has_feature is _not_ define, then __has_feature(modules) > would not

[Bug target/116827] New C++ failures in macOS 15

2024-09-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #5 from Jonathan Wakely --- (In reply to Francois-Xavier Coudert from comment #3) > where that new USE_CLANG_TYPES macro is defined at the top of the file: > > > #if defined(__has_feature) && __has_feature(modules) This is a b

[Bug target/116827] New C++ failures in macOS 15

2024-09-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #4 from Francois-Xavier Coudert --- Simple reproducer without any libstdc++ indeed: $ cat a.cpp #include $ g++ a.cpp -fmodule-header