delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/22/04:13:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Laurent Pinchart <laurent DOT pinchart AT capflow DOT com>
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 <dan AT photon DOT com>
MIME-Version: 1.0
Message-Id: <200208221015.27126.laurent.pinchart@capflow.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019