[Bug c++/25915] use ODR rules to make C++ objects not be TREE_PUBLIC
geoffk at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 21 20:45:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list