[Bug c++/30842] Warning received when private class has hidden visibility

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 18 17:27:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-02-18 17:27 -------
This is way unrelated to that Ada bug.
The reasoning behind the warning is because you will get an ODR issue if you
define the class A in a shared library and use it in the executable.


-- 


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



More information about the Gcc-bugs mailing list