This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patches for GCC 3.0 in bfd/*
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Patches for GCC 3.0 in bfd/*
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Sat, 29 Apr 2000 00:52:21 +1000 (EST)
- cc: binutils at sourceware dot cygnus dot com
On 28 Apr 2000, Andreas Jaeger wrote:
> The next major release of GCC will be 3.0. There're some places in
> bfd which check for the version number of GCC which will break with
> GCC 3.0.
Hi Andreas,
Thanks for noticing this. I'll check it in tomorrow unless someone else
beats me to it (or vetos it). Your patch isn't quite correct in some
places. eg.
-#if !defined (__GNUC__) || __GNUC_MINOR__ <= 5
+#if !defined (__GNUC__) || (__GNUC__ == 2 && __GNUC_MINOR__ <= 5)
should really be
#if !defined (__GNUC__) || __GNUC__ < 2 \
|| (__GNUC__ == 2 && __GNUC_MINOR__ <= 5)
just in case someone is compiling with gcc 1.x. I'll fix this. No need
to resend the patch.
Regards, Alan Modra
--
Linuxcare. Support for the Revolution.