This is the mail archive of the gcc-prs@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]
Other format: [Raw text]

Re: c++/7472: gcc 3.1.1 has problems with STL slist


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


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