disabling -Werror

Joshua Root jmr at macports.org
Fri Aug 12 14:57:10 PDT 2011


On 2011-8-13 07:50 , Ryan Schmidt wrote:
> I see a lot of disabling -Werror going on in ports lately:
> 
> On Aug 12, 2011, at 16:49, jmr at macports.org wrote:
> 
>> Revision: 82353
>>          http://trac.macports.org/changeset/82353
>> Author:   jmr at macports.org
>> Date:     2011-08-12 14:49:46 -0700 (Fri, 12 Aug 2011)
>> Log Message:
>> -----------
>> mips-rtems-binutils: disable -Werror
> 
> What's the problem that having -Werror is causing now that it wasn't causing before?

Deprecated functions, mainly. Using -Werror to ensure that your code
compiles with no errors is a great idea during development, but shipping
with it turned on by default is a bad idea because code that has no
warnings now could easily (and often does) get some with a new compiler
or OS.

- Josh


More information about the macports-dev mailing list