This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Antwort: Re: c++/7472: gcc 3.1.1 has problems with STL slist
- From: <steffen dot goerzig at daimlerchrysler dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 5 Aug 2002 12:06:02 -0000
- Subject: Antwort: Re: c++/7472: gcc 3.1.1 has problems with STL slist
- Reply-to: <steffen dot goerzig at daimlerchrysler dot com>
The following reply was made to PR c++/7472; it has been noted by GNATS.
From: <steffen.goerzig@daimlerchrysler.com>
To: <gcc-gnats@gcc.gnu.org>
Cc:
Subject: Antwort: Re: c++/7472: gcc 3.1.1 has problems with STL slist
Date: Mon, 5 Aug 2002 14:01:36 +0200
Hi,
thank you for your fast answer.
I will apply your solution.
Best regards
Steffen
Synopsis: gcc 3.1.1 has problems with STL slist
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Fri Aug 2 09:09:36 2002
State-Changed-Why:
Thank you for your bug report.
=20
The slist class is not part of the standard library.
It was part of the original HP library and retained by SGI.
For GCC, it has been moved out of namespace std, since it
is not standard. Also the header file has been moved.
=20
This
=20
#include <ext/slist>
=20
using __gnu_cxx::slist;
=20
int main()
{
slist<int> s;
}
=20
works with 3.1 and later.
=