This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34200] Two compilation units have same private class but no conflict detected or reported.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2007 23:56:10 -0000
- Subject: [Bug c++/34200] Two compilation units have same private class but no conflict detected or reported.
- References: <bug-34200-15413@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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