[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 29 13:08:26 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885
Nathan Sidwell <nathan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|rejects-valid |accepts-invalid
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2021-01-29
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org
--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
This is ill-formed. an exported entity must be so-declared on its first
declaration.
A diagnostic is missing on the definition of the class.
More information about the Gcc-bugs
mailing list