* Error including stl_map.h
@ 2004-03-10 3:50 Jason.Majors
0 siblings, 0 replies; only message in thread
From: Jason.Majors @ 2004-03-10 3:50 UTC (permalink / raw)
To: gcc-help
I'm using stl maps with g++ 3.3.0 on AIX 4.3.3. When I try to compile the
code I get the following errors from including bits/stl_map.h.
/usr/local/include/c++/3.3/bits/stl_map.h:118: error: template-id `
_Rb_tree<_Key, std::pair<const _Key, _Tp>,
std::_Select1st<std::pair<const
_Key, _Tp> >, _Compare, _Alloc>' used as a declarator
/usr/local/include/c++/3.3/bits/stl_map.h:118: error: parse error before
`;'
token
(It continues on, but all subsequent errors appear to be because the
parser is now lost).
Do I need to include something else, or change a setting in my Makefile to
get this to work?
Thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-09 23:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-10 3:50 Error including stl_map.h Jason.Majors
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).