This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54055] spurious(?) "invalid use of incomplete type" warning in template definition
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 Jul 2012 14:11:11 +0000
- Subject: [Bug c++/54055] spurious(?) "invalid use of incomplete type" warning in template definition
- Auto-submitted: auto-generated
- References: <bug-54055-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54055
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-21 14:11:11 UTC ---
Yes, it was intentional, based on the discussion mentioned in the other
comments. I made it a pedwarn rather than a hard error so that affected code
would continue to compile.