This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Question about compiling some C++ code.
- From: Mihnea Balta <dark_lkml at mymail dot ro>
- To: Tim Musson <blat at sdf dot lonestar dot org>, gcc-help at gcc dot gnu dot org
- Date: Sat, 24 May 2003 17:11:13 +0300
- Subject: Re: Question about compiling some C++ code.
- References: <149317547.20030524095958@sdf.lonestar.org>
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?