This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31300] undetected class name clash
- 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: 21 Mar 2007 18:26:33 -0000
- Subject: [Bug c++/31300] undetected class name clash
- References: <bug-31300-14285@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-03-21 18:26 -------
The only way to get a diagnostic is to output the class definition and even
then sometimes the detection could be wrong. ODR reporting is a hard problem
with most code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31300