This is the mail archive of the gcc@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: 3.2.2 c++ compile problems


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


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