From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12308 invoked by alias); 21 Jul 2002 17:26: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 12286 invoked by uid 71); 21 Jul 2002 17:26:01 -0000 Resent-Date: 21 Jul 2002 17:26:01 -0000 Resent-Message-ID: <20020721172601.12285.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, vincent.lascaux@ifrance.com Received: (qmail 10158 invoked by uid 61); 21 Jul 2002 17:17:19 -0000 Message-Id: <20020721171719.10157.qmail@sources.redhat.com> Date: Sun, 21 Jul 2002 10:26:00 -0000 From: vincent.lascaux@ifrance.com Reply-To: vincent.lascaux@ifrance.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/7368: std::vector X-SW-Source: 2002-07/txt/msg00591.txt.bz2 List-Id: >Number: 7368 >Category: c++ >Synopsis: std::vector >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Jul 21 10:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Vincent Lascaux >Release: gcc version 3.1 >Organization: >Environment: winXP >Description: The following code wont compile #include int main { std::vector Foo;} The error is rather large, begins with : bits/stl_alloc.h: In instantiation of `std::allocator': main.cpp:5: instantiated from here /bits/stl_alloc.h:636: `const _Tp* std::allocator<_Alloc>::address(const _Tp&) const [with _Tp = const void* const]' has already been declared in `std::allocator' >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: