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++/25915] use ODR rules to make C++ objects not be TREE_PUBLIC



------- Comment #10 from geoffk at gcc dot gnu dot org  2006-06-21 20:44 -------
Hi Andrew,
I'm not sure what diagnostic you're talking about.  If you violate the ODR and
define myclass in a different TU, with a different definition for myclass::foo,
you will typically get no diagnostic; just inconsistent behaviour.


-- 


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


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