[Bug c++/70476] C++11: Function name declared in unnamed namespace extern "C" gets exernal linkage

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 27 09:34:42 GMT 2021


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
     Ever confirmed|0                           |1
         Resolution|INVALID                     |---
   Last reconfirmed|                            |2021-08-27

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is not very helpful:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#2230

A discussion in 2017 concluded that Stephan is correct, but that never made it
to the issues list. So confirming as a bug.


More information about the Gcc-bugs mailing list