getops.h and cygwin

Svein E. Seldal Svein.Seldal@solidas.com
Sun Sep 15 16:47:00 GMT 2002


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



More information about the Binutils mailing list