getops.h and cygwin

Alan Modra amodra@bigpond.net.au
Sun Sep 15 19:01:00 GMT 2002


On Sun, Sep 15, 2002 at 08:12:02PM +0200, Svein E. Seldal wrote:
> ../../bfd/../include/getopt.h:115: warning: function declaration isn't a 
> prototype
[snip]
> Now, is this a cygwin issue or a binutils issue?

binutils.  We don't have configure tests that will set HAVE_DECL_GETOPT.
If it bothers you, you could look at porting over gcc_AC_CHECK_DECLS
from gcc configury files.  I'll review and approve such a patch, if
someone else doesn't beat me to it.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list