Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Non-literal format strings should be an error by de...



details:   https://anonhg.NetBSD.org/src/rev/81b4e78bb644
branches:  trunk
changeset: 792552:81b4e78bb644
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jan 07 02:16:41 2014 +0000

description:
Non-literal format strings should be an error by default for clang.

diffstat:

 share/mk/bsd.sys.mk |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 2b8e62ba7e31 -r 81b4e78bb644 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Tue Jan 07 02:15:27 2014 +0000
+++ b/share/mk/bsd.sys.mk       Tue Jan 07 02:16:41 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.231 2013/12/16 21:34:16 matt Exp $
+#      $NetBSD: bsd.sys.mk,v 1.232 2014/01/07 02:16:41 joerg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -68,7 +68,6 @@
 CFLAGS+=       -Wconversion
 .endif
 CFLAGS+=       -Wsign-compare -Wformat=2
-CFLAGS+=       ${${ACTIVE_CC} == "clang":? -Wno-error=format-nonliteral :}
 CFLAGS+=       ${${ACTIVE_CC} == "gcc":? -Wno-format-zero-length :}
 .endif
 .if ${WARNS} > 3 && defined(HAVE_LLVM)



Home | Main Index | Thread Index | Old Index