Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pcc/libexec/ccom disable some warnings to appea...



details:   https://anonhg.NetBSD.org/src/rev/fe828b5e70cd
branches:  trunk
changeset: 768173:fe828b5e70cd
user:      plunky <plunky%NetBSD.org@localhost>
date:      Wed Aug 10 08:10:39 2011 +0000

description:
disable some warnings to appease gcc-4.5

diffstat:

 external/bsd/pcc/libexec/ccom/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 45c8eafd50a5 -r fe828b5e70cd external/bsd/pcc/libexec/ccom/Makefile
--- a/external/bsd/pcc/libexec/ccom/Makefile    Wed Aug 10 08:09:38 2011 +0000
+++ b/external/bsd/pcc/libexec/ccom/Makefile    Wed Aug 10 08:10:39 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2011/06/07 13:30:35 plunky Exp $
+#      $NetBSD: Makefile,v 1.10 2011/08/10 08:10:39 plunky Exp $
 
 WARNS?=        2
 
@@ -28,6 +28,9 @@
 CPPFLAGS+=     -I${PCC_DIST}/arch/${TARGMACH}
 CPPFLAGS+=     -I${PCC_DIST}/cc/ccom
 
+COPTS.scan.c+= -Wno-unused
+COPTS.pftn.c+= -Wno-uninitialized
+
 DPSRCS=        external.c
 
 MKEXTDIR!=     cd ../mkext && ${PRINTOBJDIR}



Home | Main Index | Thread Index | Old Index