This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build error -- can not find operator new


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]