This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16598] New: apparent typo in bits/fstream.tcc
- From: "victor dot secarin at shaw dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2004 01:51:23 -0000
- Subject: [Bug c++/16598] New: apparent typo in bits/fstream.tcc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
My application failed to build, complaining that "an unqualified id was
expected" at line 277 in /usr/local/include/c++/3.4.1/bits/fstream.tcc
The whole file is inside an "namespace std" block.
At lines 277 and 518 are two calls to std::min.
Replacing "std::min" with just "min" solved the problem.
--
Summary: apparent typo in bits/fstream.tcc
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: victor dot secarin at shaw dot ca
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16598