[RFA] compilation warnings in bfd on Alpha/Tru64

Mark Kettenis mark.kettenis@xs4all.nl
Mon Apr 18 21:13:00 GMT 2005


   Date: Mon, 18 Apr 2005 21:06:49 +0200
   From: Jerome Guitton <guitton@adacore.com>

   The following patch should allow to build bfd on Tru64 with
   -Werrors. It fixes two problems:

   * my patch for checking for basename decl was bogus;
   * on OSF5.1, fseeko/ftello are available but their declarations are not
   found during the build. Apparently, they are protected by a
   "#if _XOPEN_SOURCE>=500"... Setting _XOPEN_SOURCE explicitly would
   be looking for troubles, so I suggest to check during the configure
   if a declaration is visible for these functions and, if not, to
   declare them.

   Opinions/Thoughts?

Hmm.  Shouldn't we start using the standard AC_CHECK_DECL instead of
BFD_NEEDED_DECLARATION?

Mark



More information about the Binutils mailing list