[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binutils build broken at FreeBSD 5.3 after -Werror enabling

From: Nick Clifton
Subject: Re: Binutils build broken at FreeBSD 5.3 after -Werror enabling
Date: Tue, 22 Mar 2005 16:50:36 +0000
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]