https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102341
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2021-09-15 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #2) > This seems to make it impractical to create a module interface unit for any > library that is currently defined in header files, such as libstdc++. I can work around this by adding 'export' into the headers themselves (as a macro that expands to nothing unless included from the module interface unit).