Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Type: text/plain; charset="iso-8859-1" From: Laurent Pinchart Organization: Capflow To: cygwin AT cygwin DOT com Subject: Re: vector Date: Thu, 22 Aug 2002 10:15:27 +0200 User-Agent: KMail/1.4.1 References: <3D649A95 DOT 3503A7BF AT photon DOT com> In-Reply-To: <3D649A95.3503A7BF@photon.com> Cc: Dan Mergens MIME-Version: 1.0 Message-Id: <200208221015.27126.laurent.pinchart@capflow.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g7M8DQv01588 > I'm baffled why this simple program produces the following errors. > Strangly enough, if I remove the push_back call, it compiles without > complaint. [...] > $ gcc test.C [...] It's a C++ program. You have to use g++. Naming your file test.cpp instead of test.C would be a good idea too. Laurent Pinchart -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/