This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7472: gcc 3.1.1 has problems with STL slist
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 2 Aug 2002 16:06:01 -0000
- Subject: Re: c++/7472: gcc 3.1.1 has problems with STL slist
- Reply-to: Gabriel Dos Reis <gdr at integrable-solutions dot net>
The following reply was made to PR c++/7472; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: steffen.goerzig@informatik.uni-stuttgart.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/7472: gcc 3.1.1 has problems with STL slist
Date: 02 Aug 2002 18:00:38 +0200
steffen.goerzig@informatik.uni-stuttgart.de writes:
[...]
| >Description:
| main.cpp:2: `slist' not declared
| main.cpp: In function `int main()':
| main.cpp:5: `slist' undeclared (first use this function)
| main.cpp:5: (Each undeclared identifier is reported only once for each function
| it appears in.)
| main.cpp:5: parse error before `>' token
| >How-To-Repeat:
| #include <slist>
The single list implementation is not standard. It is an extension.
The above should read
#include <ext/slist>
| using std::slist;
using __gnu_cxx::slist;
-- Gaby