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++/31300] undetected class name clash



------- Comment #6 from thierry dot galas at med dot ge dot com  2007-03-21 18:33 -------
Subject: Re:  undetected class name clash

Thanks for the anonymous namespace suggestion (I didn't know about it 
before) ,
 it is efficient  and could be systematized at the scale of a large team.


pinskia at gcc dot gnu dot org wrote:
> ------- 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


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