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/*


>>>>> Alan Modra writes:

 > 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)

That's even better.
 > just in case someone is compiling with gcc 1.x.  I'll fix this.  No need
 > to resend the patch.
Thanks.

Btw. there're some more problems in the intl/libgettext.h.  Who is
responsible for this?  The fix is straightforward.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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