From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24121 invoked by alias); 2 Aug 2002 16:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 24104 invoked by uid 71); 2 Aug 2002 16:06:01 -0000 Date: Fri, 02 Aug 2002 09:06:00 -0000 Message-ID: <20020802160601.24103.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gabriel Dos Reis Subject: Re: c++/7472: gcc 3.1.1 has problems with STL slist Reply-To: Gabriel Dos Reis X-SW-Source: 2002-08/txt/msg00028.txt.bz2 List-Id: The following reply was made to PR c++/7472; it has been noted by GNATS. From: Gabriel Dos Reis 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 The single list implementation is not standard. It is an extension. The above should read #include | using std::slist; using __gnu_cxx::slist; -- Gaby