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++/16605] New: expected unqualified-id before '(' token in vector.tcc and stl_bvector.h


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


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