This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16598] New: apparent typo in bits/fstream.tcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]