This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/9278] Illegal use of typedef to "void"
- From: "paul_m_doc at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 May 2007 12:11:53 -0000
- Subject: [Bug c++/9278] Illegal use of typedef to "void"
- References: <bug-9278-501@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #27 from paul_m_doc at hotmail dot com 2007-05-25 13:11 -------
(In reply to comment #26)
> *** Bug 32058 has been marked as a duplicate of this bug. ***
Sigh :(. The response at the October 2006 to DR 577 is enough to make any
template meta-programmer bang their head against the wall in despair.
This is the language that, according to its creator as a design goal should
'trust the programmer', right?
I certainly have a formal position on this and many other similar issues that
affect TMP.
This should have been at most a warning with the option to turn it off.
The Visual C++ compilers may be less fussy than gcc but at least they tend to
do the sensible thing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278