This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
getops.h and cygwin
- From: "Svein E. Seldal" <Svein dot Seldal at solidas dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Sun, 15 Sep 2002 20:12:02 +0200
- Subject: getops.h and cygwin
Hi,
When I'm compiling binutils on my cygwin (1.3.12) using gcc 2.95.3-5 and
I keep getting *a lot* of these:
In file included from /usr/include/unistd.h:8,
from ../../bfd/sysdep.h:69,
from ../../bfd/targets.c:24:
../../bfd/../include/getopt.h:115: warning: function declaration isn't a
prototype
Which is probably caused by the fact that the library (?) is not a gnu
library (??) and thus it will not declare the function getopt() prior to
usage.
Now, is this a cygwin issue or a binutils issue?
Svein