This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16605] expected unqualified-id before '(' token in vector.tcc and stl_bvector.h
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2004 13:38:57 -0000
- Subject: [Bug c++/16605] expected unqualified-id before '(' token in vector.tcc and stl_bvector.h
- References: <20040717110358.16605.g.s@arcor.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-07-19 13:38 -------
Your code defines min/max as macros. The preprocessor expands this, which
leaves what used to be std::max(x1, x2) as something that doesn't make
much sense to the compiler any more.
Since the standard says that the names min/max are reserved, simply
remove these #defines from your sources.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16605