Buildworld broken with clang on current

From: Manfred Antar <null_at_pozo.com>
Date: Mon, 21 Nov 2011 12:59:38 -0800
make buildworld is broken iif using clang on current i386

(libc)5027}make
clang -O2 -pipe  -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS  -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/string/strcasecmp.c
/usr/src/lib/libc/string/strcasecmp.c:45:23: error: redefinition of typedef 'u_char' is invalid in C
      [-Wtypedef-redefinition]
typedef unsigned char u_char;
                      ^
/usr/include/sys/types.h:50:23: note: previous definition is here
typedef unsigned char   u_char;
                        ^
1 error generated.
*** Error code 1

Stop in /usr/src/lib/libc.



========================
||      null_at_pozo.com           ||
||      Ph. (415) 681-6235      ||
======================== 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Nov 21 2011 - 20:12:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC