Re: Pedantic and Werror together...

2003-06-03 Thread Tim Kientzle
Pete Carah wrote:

pedantic and Werror together cause problems again...  I presume we really 
need the quad type here.  (or is this one due to a compiler upgrade?)


-pedantic is broken in a number of ways and has been for
a long time.  While it is still useful for occasional linting,
combining it with -Werror in routine builds is just asking for grief.
Tim

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Pedantic and Werror together...

2003-06-02 Thread Pete Carah
pedantic and Werror together cause problems again...  I presume we really 
need the quad type here.  (or is this one due to a compiler upgrade?)

-- Pete
---

=== lib/csu/i386-elf
rm -f .depend
mkdep -f .depend -a-I/usr/src/lib/csu/i386-elf/../common 
-I/usr/src/lib/csu/i386-elf/../../libc/include/usr/src/lib/csu/i386-elf/crti.S 
/usr/src/lib/csu/i386-elf/crtn.S
mkdep -f .depend -a-I/usr/src/lib/csu/i386-elf/../common 
-I/usr/src/lib/csu/i386-elf/../../libc/include  /usr/src/lib/csu/i386-elf/crt1.c
cc -O -pipe -march=pentium3 -elf -Wall  -I/usr/src/lib/csu/i386-elf/../common  
-I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -pedantic 
-Wbad-function-cast -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls  -c 
/usr/src/lib/csu/i386-elf/crt1.c -o crt1.o
cc1: warnings being treated as errors
In file included from /usr/src/lib/csu/i386-elf/crt1.c:33:
/usr/obj/usr/src/i386/usr/include/stdlib.h:134: warning: ISO C89 does not support 
`long long'
/usr/obj/usr/src/i386/usr/include/stdlib.h:135: warning: ISO C89 does not support 
`long long'
/usr/obj/usr/src/i386/usr/include/stdlib.h:140: warning: ISO C89 does not support 
`long long'
/usr/obj/usr/src/i386/usr/include/stdlib.h:143: warning: ISO C89 does not support 
`long long'
/usr/obj/usr/src/i386/usr/include/stdlib.h:143: warning: ISO C89 does not support 
`long long'
/usr/obj/usr/src/i386/usr/include/stdlib.h:145: warning: ISO C89 does not support 
`long long'
/usr/obj/usr/src/i386/usr/include/stdlib.h:145: warning: ISO C89 does not support 
`long long'
/usr/obj/usr/src/i386/usr/include/stdlib.h:148: warning: ISO C89 does not support 
`long long'
/usr/obj/usr/src/i386/usr/include/stdlib.h:151: warning: ISO C89 does not support 
`long long'
*** Error code 1

Stop in /usr/src/lib/csu/i386-elf.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]