https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102345

Nathaniel Shead <nshead at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nshead at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #6 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
The diagnostic now reads:

e.cpp:2:14: error: declaring ‘void* operator new(long unsigned int)’ in module
‘newdel’ conflicts with builtin in global module
    2 | export void* operator new(__SIZE_TYPE__);
      |              ^~~~~~~~
e.cpp:1:8: warning: not writing module ‘newdel’ due to errors
    1 | export module newdel;
      |        ^~~~~~

which should be clearer as to what the issue is.

Reply via email to