This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30842] Warning received when private class has hidden visibility
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Feb 2007 17:27:39 -0000
- Subject: [Bug c++/30842] Warning received when private class has hidden visibility
- References: <bug-30842-8546@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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