-Werror errors on RELENG_8_0 world

From: Dmitry Marakasov <amdmi3_at_amdmi3.ru>
Date: Sat, 14 Nov 2009 08:43:06 +0300
Hi!

I've just got a buildworld error on a recent RELENG_8_0:

---
cc -O2 -pipe -Wall -march=prescott -I/usr/src/lib/msun/ld80 -I/usr/src/lib/msun/src -I/usr/src/lib/msun/../libc/include  -I/usr/src/lib/msun/../libc/i386 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/src/lib/msun/src/e_asin.c
cc -O2 -pipe -Wall -march=prescott -I/usr/src/lib/msun/ld80 -I/usr/src/lib/msun/src -I/usr/src/lib/msun/../libc/include  -I/usr/src/lib/msun/../libc/i386 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/src/lib/msun/src/e_asinf.c
cc -O2 -pipe -Wall -march=prescott -I/usr/src/lib/msun/ld80 -I/usr/src/lib/msun/src -I/usr/src/lib/msun/../libc/include  -I/usr/src/lib/msun/../libc/i386 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/src/lib/msun/src/e_atan2.c
cc1: warnings being treated as errors
/usr/src/lib/msun/src/e_atan2.c: In function 'atan2':
/usr/src/lib/msun/src/e_atan2.c:74: warning: suggest parentheses around arithmetic in operand of |
*** Error code 1
---

There are some more, but it builds fine with NO_WERROR=1.

SVN logs show that code wasn't changed for a long time, so why
weren't these detected and fixed yet, or am I missing something and
this is a some local problem?

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3_at_amdmi3.ru  ..:  jabber: amdmi3_at_jabber.ru    http://www.amdmi3.ru
Received on Sat Nov 14 2009 - 04:43:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC