[Bug c++/18267] external linkage of functions declared in an anonymous namespace

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Tue Nov 2 00:19:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-11-02 00:19 -------
GCC is not allowed to remove the definition of a function with external 
linkage. The fact that nobody will be able to call it because it is in an 
anonymous namespace it is irrelevant.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18267



More information about the Gcc-bugs mailing list