[Bug c++/34200] Two compilation units have same private class but no conflict detected or reported.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 22 23:56:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-22 23:56 -------
One definition rule does not have to be diagnostic according to the C++
standard. To diagnose this, the compiler needs to have all of the
translational units.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Component|other |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34200
More information about the Gcc-bugs
mailing list