This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16636] Unable to emit vtable info
- 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: 19 Jul 2004 20:58:40 -0000
- Subject: [Bug c++/16636] Unable to emit vtable info
- References: <20040719194957.16636.miko@stacken.kth.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-19 20:58 -------
No it is not legal as the classes have to the same defintion for all translational units, aka types are also
exported.
The C++ standard say no diagnostic is required in this case (and we cannot find this problem until link
time so we cannot diagnostic it at all).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16636