Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src apply some -Wno-error/-Wno-enum-compare/-Wno-array-bounds.
details: https://anonhg.NetBSD.org/src/rev/1c7a57cc57ba
branches: trunk
changeset: 766428:1c7a57cc57ba
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Jun 22 05:23:53 2011 +0000
description:
apply some -Wno-error/-Wno-enum-compare/-Wno-array-bounds.
this should be looked at more closely.
diffstat:
lib/libc/arch/sparc64/Makefile.inc | 7 ++++++-
usr.bin/m4/Makefile | 7 ++++++-
usr.sbin/altq/altqd/Makefile | 7 ++++++-
3 files changed, 18 insertions(+), 3 deletions(-)
diffs (55 lines):
diff -r bd0e7c0aeb19 -r 1c7a57cc57ba lib/libc/arch/sparc64/Makefile.inc
--- a/lib/libc/arch/sparc64/Makefile.inc Wed Jun 22 05:18:03 2011 +0000
+++ b/lib/libc/arch/sparc64/Makefile.inc Wed Jun 22 05:23:53 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.15 2011/03/22 12:24:53 martin Exp $
+# $NetBSD: Makefile.inc,v 1.16 2011/06/22 05:23:53 mrg Exp $
SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
@@ -18,4 +18,9 @@
SRCS+= ${SRCS.softfloat}
CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \
-I${.CURDIR}/softfloat/bits64
+
+.if ${HAVE_GCC} == 45
+COPTS.softfloat-wrapper.c+= -Wno-enum-compare
.endif
+
+.endif
diff -r bd0e7c0aeb19 -r 1c7a57cc57ba usr.bin/m4/Makefile
--- a/usr.bin/m4/Makefile Wed Jun 22 05:18:03 2011 +0000
+++ b/usr.bin/m4/Makefile Wed Jun 22 05:23:53 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/10/26 21:11:28 christos Exp $
+# $NetBSD: Makefile,v 1.16 2011/06/22 05:23:53 mrg Exp $
#
# @(#)Makefile 8.1 (Berkeley) 6/6/93
@@ -25,3 +25,8 @@
CLEANFILES+=parser.c parser.h tokenizer.o
.include <bsd.prog.mk>
+
+# XXX
+.if ${HAVE_GCC} == 45
+COPTS.main.c+= -Wno-error
+.endif
diff -r bd0e7c0aeb19 -r 1c7a57cc57ba usr.sbin/altq/altqd/Makefile
--- a/usr.sbin/altq/altqd/Makefile Wed Jun 22 05:18:03 2011 +0000
+++ b/usr.sbin/altq/altqd/Makefile Wed Jun 22 05:23:53 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/03/05 04:11:51 itojun Exp $
+# $NetBSD: Makefile,v 1.5 2011/06/22 05:23:54 mrg Exp $
.include <bsd.own.mk>
@@ -17,3 +17,8 @@
LDADD+= -lutil -lm
.include <bsd.prog.mk>
+
+# XXX
+.if ${HAVE_GCC} == 45
+COPTS.altqd.c+= -Wno-array-bounds
+.endif
Home |
Main Index |
Thread Index |
Old Index