[Bug c++/54198] [4.8 Regression] "error: invalid use of incomplete type" when building Chromium

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 12 22:58:00 GMT 2012


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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #3 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-08-12 22:58:09 UTC ---
(In reply to comment #2)
> I actually think GCC is correct, A <B> causes all member functions to be
> instantiated.

I disagree, the instantiation of A<B> shall only instantiate all member
*declarations*, but not the *definitions* of unused members.



More information about the Gcc-bugs mailing list