This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]