3.2.2 c++ compile problems

Craig Rodrigues rodrigc@attbi.com
Mon Dec 23 13:02:00 GMT 2002


On Mon, Dec 23, 2002 at 11:55:52AM -0800, Joe Buck wrote:
> Craig, your patch seems to assume that the compiler will always be GCC:
> you test for GCC 3, and otherwise explicitly declare new and delete
> in the global namespace (which is correct only for GCC 2).

The Makefile for the sparky program is hardcoded to use GCC, and
probably won't work with anything besides GCC.
Yes, inverting the logic to test for GCC2 by default is easy to do.

-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com



More information about the Gcc mailing list