Hi Vladimir,

After patch http://sourceware.org/ml/binutils-cvs/2005-03/msg00191.html binutils build broken at FreeBSD 5.3

Build terminate with message:

In file included from /usr/home/wanderer/pkg/build/binutils/src/src/binutils/size.c:34:
/usr/home/wanderer/pkg/build/binutils/src/src/binutils/../include/getopt.h:116: warning: function declaration isn't a prototype


I see this warning long time (>2 years) already when i build binutils at FreeBSD.

Using --disable-werror help build binutils.

Sorry - we have decided to enable -Werror by default on the gcc command line when building binutils. If you can tell us how to reliably determine a prototype for the getopt() function under FreeBSD then we can fix the getopt.h header file. Otherwise you will have to continue building binutils with --disable-werror on the configure command line.


Cheers
  Nick




_______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to