This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]