From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9672 invoked by alias); 24 May 2003 14:09:16 -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 9665 invoked from network); 24 May 2003 14:09:15 -0000 Received: from unknown (HELO ealliance.ro) (213.233.121.14) by sources.redhat.com with SMTP; 24 May 2003 14:09:15 -0000 Received: from dark.realmsoftorment.net (unknown [213.157.162.180]) by ealliance.ro (eAlliance's MyHost eMailer) with ESMTP id EFE402B83AF; Sat, 24 May 2003 16:57:49 +0300 (EEST) From: Mihnea Balta To: Tim Musson , gcc-help@gcc.gnu.org Subject: Re: Question about compiling some C++ code. Date: Sat, 24 May 2003 14:09:00 -0000 User-Agent: KMail/1.5 References: <149317547.20030524095958@sdf.lonestar.org> In-Reply-To: <149317547.20030524095958@sdf.lonestar.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305241711.13840.dark_lkml@mymail.ro> X-SW-Source: 2003-05/txt/msg00217.txt.bz2 Are you compiling with gcc? Try with g++. On Saturday 24 May 2003 16:59, Tim Musson wrote: > gcc-help, > > Getting the following error from some code that compiles with Visual C++ > on Win32. I am running gcc from cygwin. > > /cygdrive/c/TEMP/ccgLCDNh.o(.text+0x2012):blat.cpp: undefined reference to > `operator new[](unsigned)' > > I am not a C++ programer, and don't know how to 'define' this. Can > anyone point me in the right direction?