https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827
--- Comment #11 from GCC Commits ---
The releases/gcc-14 branch has been updated by Iain D Sandoe
:
https://gcc.gnu.org/g:623aaebc7d755ef8696834bebd14f8eddd88200e
commit r14-11713-g623aaebc7d755ef8696834bebd14f8eddd88200e
Author: Iain Sandoe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827
--- Comment #10 from Iain Sandoe ---
fixed on trunk, backports to follow.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827
--- Comment #9 from GCC Commits ---
The master branch has been updated by Iain D Sandoe :
https://gcc.gnu.org/g:9cf6b52d04df22726d88eef113211b3cc08515de
commit r15-9499-g9cf6b52d04df22726d88eef113211b3cc08515de
Author: Iain Sandoe
Date: Sun
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827
Iain Sandoe changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org
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
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
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
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