build error -- can not find operator new

skaller skaller@users.sourceforge.net
Mon Nov 5 11:17:00 GMT 2007


On Mon, 2007-11-05 at 02:35 -0800, Lin George wrote:
> Hi John,
> 
> 
> One more comment to your solution, 
> I want to confirm that for the trivial 
> C++ program you mentioned below. We should build it with g++ other than gcc, right? 

Yes, however make sure the extension (cxx or cpp) reflects the
language since g++ will compile *.c files as C not C++.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net



More information about the Gcc-help mailing list