Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Avoid format-nonliteral warnings from msgc ...



details:   https://anonhg.NetBSD.org/src/rev/14af79ba75d1
branches:  trunk
changeset: 452078:14af79ba75d1
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Jun 17 18:36:39 2019 +0000

description:
Avoid format-nonliteral warnings from msgc generated files for now

diffstat:

 usr.sbin/sysinst/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r c84c2cdba609 -r 14af79ba75d1 usr.sbin/sysinst/Makefile.inc
--- a/usr.sbin/sysinst/Makefile.inc     Mon Jun 17 18:22:41 2019 +0000
+++ b/usr.sbin/sysinst/Makefile.inc     Mon Jun 17 18:36:39 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.20 2019/06/12 06:20:17 martin Exp $
+#      $NetBSD: Makefile.inc,v 1.21 2019/06/17 18:36:39 martin Exp $
 #
 # Makefile for sysinst
 
@@ -118,6 +118,8 @@
 COPTS += -Os
 .endif
 
+COPTS.msg_defs.c+=     -Wno-format-nonliteral
+
 .if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no")
 CPPFLAGS+=-DINET6
 .endif



Home | Main Index | Thread Index | Old Index