This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Parsing bug in all recent versions
- To: amberarrow at yahoo dot com,gcc-bugs at gcc dot gnu dot org
- Subject: Re: Parsing bug in all recent versions
- From: Stephen M.Webb <stephenw at cryptocard dot com>
- Date: Thu, 19 Jul 2001 14:34:00 -0400
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: CRYPTOCard Corporation
- Reply-To: stephenw at cryptocard dot com
> 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;
This isn't a parsing error in gcc but a coding problem in the
libstdc++ STL. It's harmless but you should submit a problem report
through GNATS so it gets addressed.
_______
Stephen M. Webb