This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: Patches for GCC 3.0 in bfd/*


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.


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