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]

Parsing bug in all recent versions


Hi,

It seems that all recent versions of gcc (2.95.2,
2.95.3, 3.0) on Solaris 7 and 8 appear to have the
following bug: they accept any number of "::iterator"
on some (maybe all) the STL iterators, e.g. all of
these are accepted:

std::list<int>::iterator  p;
std::list<int>::iterator::iterator  p;
std::list<int>::iterator::iterator::iterator  p;

Ram


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/


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