Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd Disable noreturn checks for remaining external ...
details: https://anonhg.NetBSD.org/src/rev/38bc78eb6621
branches: trunk
changeset: 769641:38bc78eb6621
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Sep 16 16:41:20 2011 +0000
description:
Disable noreturn checks for remaining external code
diffstat:
external/bsd/atf/lib/libatf-c/Makefile | 4 +++-
external/bsd/byacc/Makefile.inc | 3 ++-
external/bsd/cron/bin/Makefile.inc | 3 ++-
external/bsd/ntp/Makefile.inc | 3 ++-
external/bsd/pkg_install/Makefile.inc | 3 ++-
external/bsd/top/bin/Makefile | 3 ++-
6 files changed, 13 insertions(+), 6 deletions(-)
diffs (91 lines):
diff -r 9cb375362771 -r 38bc78eb6621 external/bsd/atf/lib/libatf-c/Makefile
--- a/external/bsd/atf/lib/libatf-c/Makefile Fri Sep 16 16:30:51 2011 +0000
+++ b/external/bsd/atf/lib/libatf-c/Makefile Fri Sep 16 16:41:20 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2011/06/14 15:27:11 jmmv Exp $
+# $NetBSD: Makefile,v 1.13 2011/09/16 16:41:20 joerg Exp $
NOLINT= # defined
@@ -7,6 +7,8 @@
LIB= atf-c
NOPIC= # defined; interface is still too unstable
+CWARNFLAGS+= -Wno-missing-noreturn
+
SRCDIR= ${NETBSDSRCDIR}/external/bsd/atf/dist
.PATH: ${SRCDIR}
.PATH: ${SRCDIR}/atf-c
diff -r 9cb375362771 -r 38bc78eb6621 external/bsd/byacc/Makefile.inc
--- a/external/bsd/byacc/Makefile.inc Fri Sep 16 16:30:51 2011 +0000
+++ b/external/bsd/byacc/Makefile.inc Fri Sep 16 16:41:20 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2009/10/29 00:56:35 christos Exp $
+# $NetBSD: Makefile.inc,v 1.2 2011/09/16 16:41:20 joerg Exp $
WARNS=4
@@ -9,5 +9,6 @@
IDIST= ${NETBSDSRCDIR}/external/bsd/byacc/dist
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST}
+CWARNFLAGS+= -Wno-missing-noreturn
.PATH: ${IDIST}
diff -r 9cb375362771 -r 38bc78eb6621 external/bsd/cron/bin/Makefile.inc
--- a/external/bsd/cron/bin/Makefile.inc Fri Sep 16 16:30:51 2011 +0000
+++ b/external/bsd/cron/bin/Makefile.inc Fri Sep 16 16:41:20 2011 +0000
@@ -1,4 +1,5 @@
-# $NetBSD: Makefile.inc,v 1.1 2010/05/06 18:58:45 christos Exp $
+# $NetBSD: Makefile.inc,v 1.2 2011/09/16 16:41:20 joerg Exp $
.PATH: ${.PARSEDIR}/../dist
WARNS?= 4
+CWARNFLAGS+= -Wno-missing-noreturn
diff -r 9cb375362771 -r 38bc78eb6621 external/bsd/ntp/Makefile.inc
--- a/external/bsd/ntp/Makefile.inc Fri Sep 16 16:30:51 2011 +0000
+++ b/external/bsd/ntp/Makefile.inc Fri Sep 16 16:41:20 2011 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile.inc,v 1.8 2011/09/16 16:29:12 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.9 2011/09/16 16:41:20 joerg Exp $
.if !defined(NTP_MAKEFILE_INC)
NTP_MAKEFILE_INC=yes
USE_FORT?= yes # network client/server
+CWARNFLAGS+= -Wno-missing-noreturn
CWARNFLAGS.clang+= -Wno-unneeded-internal-declaration \
-Wno-format-security \
-Wno-parentheses -Wno-constant-logical-operand
diff -r 9cb375362771 -r 38bc78eb6621 external/bsd/pkg_install/Makefile.inc
--- a/external/bsd/pkg_install/Makefile.inc Fri Sep 16 16:30:51 2011 +0000
+++ b/external/bsd/pkg_install/Makefile.inc Fri Sep 16 16:41:20 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2009/08/06 16:57:20 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.4 2011/09/16 16:41:20 joerg Exp $
DIST= ${NETBSDSRCDIR}/external/bsd/pkg_install/dist
@@ -10,3 +10,4 @@
CPPFLAGS+=-DSYSCONFDIR='"/etc"'
WARNS= 4
+CWARNFLAGS+= -Wno-missing-noreturn
diff -r 9cb375362771 -r 38bc78eb6621 external/bsd/top/bin/Makefile
--- a/external/bsd/top/bin/Makefile Fri Sep 16 16:30:51 2011 +0000
+++ b/external/bsd/top/bin/Makefile Fri Sep 16 16:41:20 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/08/14 12:48:02 christos Exp $
+# $NetBSD: Makefile,v 1.7 2011/09/16 16:41:21 joerg Exp $
.include <bsd.own.mk>
@@ -9,6 +9,7 @@
.PATH: ${TOPDIR} ${TOPDIR}/machine
WARNS= 4
+CWARNFLAGS+= -Wno-missing-noreturn
CPPFLAGS+=-I${.CURDIR} -I${TOPDIR} -I.
SRCS= color.c commands.c display.c hash.c screen.c \
Home |
Main Index |
Thread Index |
Old Index