This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16605] New: expected unqualified-id before '(' token in vector.tcc and stl_bvector.h
- From: "g dot s at arcor dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2004 11:04:05 -0000
- Subject: [Bug c++/16605] New: expected unqualified-id before '(' token in vector.tcc and stl_bvector.h
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
There seems to be a bug in the STL code. When I compile RealVNC 4.0, I get error
messages like this one:
/usr/bin/../lib/gcc/i386-pc-solaris2.9/3.4.1/../../../../include/c++/3.4.1/bits/stl_bvector.h:823:
error: expected unqualified-id before '(' token
I also get these messages for bits/vector.tcc. Taking a look at the files showed
that the code uses "std::max" instead of "max". After removing the "std::", the
compilation completes without errors.
--
Summary: expected unqualified-id before '(' token in vector.tcc
and stl_bvector.h
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: g dot s at arcor dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: 3.4.1
GCC host triplet: i386-pc-solaris2.9
GCC target triplet: i386-pc-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16605