This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22252] [4.0/4.1 Regression] pragma interface/implementation still break synthesized methods
- From: "matz at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2005 15:23:25 -0000
- Subject: [Bug c++/22252] [4.0/4.1 Regression] pragma interface/implementation still break synthesized methods
- References: <20050630145509.22252.matz@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From matz at suse dot de 2005-06-30 15:23 -------
Ah, I see. Note that you must compile the reduced testcase (thanks for
that) with -O0, or with -fno-inline, otherwise the A::A ctor will be inlined
in use.cc (making the warning about the non-availability of it even more
funny ;-) ), and not lead to the link error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252