This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] compilation warnings in bfd on Alpha/Tru64
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: guitton at adacore dot com
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 18 Apr 2005 23:13:25 +0200 (CEST)
- Subject: Re: [RFA] compilation warnings in bfd on Alpha/Tru64
- References: <20050418190649.GA10768@adacore.com>
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