[Bug c++/39513] class defined in file scope got linked by other files

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 20 20:56:00 GMT 2009



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-03-20 20:56 -------
This is hard to detect really because of inlining differences between
translational units.  

See http://en.wikipedia.org/wiki/One_Definition_Rule 


-- 


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



More information about the Gcc-bugs mailing list