This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33101] Bad C++ error on invalid code: <anonymous> has incomplete type
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2007 09:00:29 -0000
- Subject: [Bug c++/33101] Bad C++ error on invalid code: <anonymous> has incomplete type
- References: <bug-33101-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from schwab at suse dot de 2007-08-18 09:00 -------
The error message makes perfect sense: void is an incomplete type and the
formal parameter has no name.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33101