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++/30842] Warning received when private class has hidden visibility



------- 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


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