This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
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