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]

Re: failed to build binutils cvs trunk 20050325 on cygwin: src/include/getopt.h:116:warning: function declaration isn't a prototype


Hi Christian,

Windows XP Pro/SP2 cygwin P4 mobile system with these packages:

In file included from /usr/local/src/trunk/src/binutils/strings.c:65:
/usr/local/src/trunk/src/include/getopt.h:116: warning: function
declaration isn't a prototype

If your build-time environment does provide a prototype for getopt() which is compatible with the one in include/getopt.h then you may find that the attached patch helps. It fixes the configure system in the binutils/ subdirectory so that it checks for a compatible getopt() prototype. (You will need to regenerate the configure files after applying the patch).


Note - this issue is being discussed on a thread on the bug-binutils@gnu.org mailing list started by Vladimir Merzliakov. Unfortunately it appears that this list is not being archived at the moment so I cannot give you a URL to follow.

Cheers
  Nick

Attachment: binutils.config.patch.supplimental.bz2
Description: BZip2 compressed data


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