From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31817 invoked by alias); 23 Jan 2003 13:27:39 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 31810 invoked from network); 23 Jan 2003 13:27:39 -0000 Received: from unknown (HELO smtp-relay-1.adobe.com) (192.150.11.1) by 172.16.49.205 with SMTP; 23 Jan 2003 13:27:39 -0000 Received: from inner-relay-1.corp.adobe.com (inner-relay-1 [153.32.1.51]) by smtp-relay-1.adobe.com (8.12.3/8.12.3) with ESMTP id h0NDRZUu015756 for ; Thu, 23 Jan 2003 05:27:36 -0800 (PST) Received: from iplan-mn.corp.adobe.com (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-1.corp.adobe.com (8.12.3/8.12.3) with ESMTP id h0NDRUcO012878 for ; Thu, 23 Jan 2003 05:27:30 -0800 (PST) Received: from [130.248.25.220] ([153.32.12.150]) by iplan-mn.corp.adobe.com (Netscape Messaging Server 4.15 mn Jul 11 2001 16:32:57) with ESMTP id H965DT00.34X; Thu, 23 Jan 2003 07:27:29 -0600 User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Thu, 23 Jan 2003 13:27:00 -0000 Subject: Re: no matching function for call to ``vector>::at (int &) const' From: John Love-Jensen To: Ajay Bansal , Message-ID: In-Reply-To: <2B721C6525F0D411B1E900B0D0226BDD02148C0A@mohmsg01.ad.infosys.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-SW-Source: 2003-01/txt/msg00208.txt.bz2 Hi Ajay, You can check out which header files are introduced into your source code via: g++ -M foo.cpp > foo.d ...and take a critical look at foo.d. It will tell you which header files, in particular compiler header files, are being pulled in. Are those header files the ones from the old 2.10 or 2.90 Standard Library, or are they the ones from the 3.x Standard Library? (The Standard Library has it's own version, independent of the GCC release.) If you are unsure, you might want to open the vector header file (i.e., stl_vector.h has the implementation) and confirm that it has an at() method. --Eljay