This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49570] /usr/include/c++/4.6.0/bits/stl_algobase.h(378): error: type name is not allowed
- From: "ansayre at babcock dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Jun 2011 13:31:45 +0000
- Subject: [Bug c++/49570] /usr/include/c++/4.6.0/bits/stl_algobase.h(378): error: type name is not allowed
- Auto-submitted: auto-generated
- References: <bug-49570-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49570
--- Comment #5 from Alan N. Sayre <ansayre at babcock dot com> 2011-06-29 13:31:42 UTC ---
Thanks paolo.
Upgrading from Intel C/C++ version 12.0.3 to 12.0.4 fixed this problem.
Alan
-----Original Message-----
From: paolo.carlini at oracle dot com [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: Tuesday, June 28, 2011 4:50 PM
To: Sayre, Alan N
Subject: [Bug c++/49570] /usr/include/c++/4.6.0/bits/stl_algobase.h(378):
error: type name is not allowed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49570
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-28
20:50:17 UTC ---
The GNU C++ header files depend already on *tons* of non-standard facilities
provided by the GNU C++ front-end, and many more such dependencies are being
added these days. In some cases, eg, std::underlying_type in C++0x, that it's
provably absolutely unavoidable (even not considering quality of implementation
issues). Anyway, normally Intel is pretty good at its GNU compatibility modes,
probably you should only update your Intel compiler too.