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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The second problem is demonstrated by:

export module newdel;
export void* operator new(__SIZE_TYPE__);


new.cc:2:40: error: declaration ‘void* operator new(long unsigned int)’
conflicts with builtin
    2 | export void* operator new(__SIZE_TYPE__);
      |                                        ^
new.cc:1:8: warning: not writing module ‘newdel’ due to errors
    1 | export module newdel;
      |        ^~~~~~

Reply via email to