Build error with GCC4.8 on Fedora19
omajid at redhat.com
Wed Jul 10 19:01:06 UTC 2013
On 07/09/2013 03:40 AM, Erik Joelsson wrote:
> I would like to see a comment explaining why the option was needed. Is
> this a bug in gcc or has the checking just become better?
-Werror is not a great default. It means "all warnings are errors". The
set of warnings that a compiler emits changes all the time. Users and
distributions can enable additional warnings by default. Newer compiler
versions may omit additional warnings. So on any compiler other than the
typical compiler used, extra warnings are possible. With -Werror, this
will probably fail. Lots of people discourage it .
We have been setting SCTP_WERROR="" to disable this -Werror on Fedora
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
More information about the core-libs-dev