Date: Wed, 23 Jun 2010 14:38:55 +0200 From: Cristiano Deana <cristiano.deana@gmail.com> To: freebsd-current@freebsd.org Subject: Problem with buildworld with CLANG Message-ID: <AANLkTimW-hx2y53BdEBb1g7VMNx2Lcns-nSZYNfo7TY6@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
# uname -a FreeBSD test 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Tue Jun 22 16:04:38 CEST 2010 root@test:/usr/obj/usr/src/sys/GENERIC amd64 # cat /etc/src.conf #NO_WERROR= #WERROR= CC= clang CXX= clang++ sources from this morning, i got this error: clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -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 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/sys/stack_protector.c /usr/src/lib/libc/sys/stack_protector.c:88:19: error: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_CRIT, msg); ^~~ 1 error generated. *** Error code 1 -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimW-hx2y53BdEBb1g7VMNx2Lcns-nSZYNfo7TY6>