Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/usr.bin Enable minimal warnings, disabling...



details:   https://anonhg.NetBSD.org/src/rev/b48fbfeeb0bb
branches:  trunk
changeset: 344782:b48fbfeeb0bb
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 19 21:11:05 2016 +0000

description:
Enable minimal warnings, disabling the unused and narrowing ones that gcc
authors don't seem to pay attention to.

diffstat:

 external/gpl3/gcc/usr.bin/Makefile.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ab9867514c93 -r b48fbfeeb0bb external/gpl3/gcc/usr.bin/Makefile.inc
--- a/external/gpl3/gcc/usr.bin/Makefile.inc    Tue Apr 19 19:50:53 2016 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile.inc    Tue Apr 19 21:11:05 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.26 2016/03/15 19:14:47 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.27 2016/04/19 21:11:05 christos Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -100,4 +100,7 @@
 
 NOCLANGERROR=  # defined
 
+WARNS=1
+COPTS+=-Wno-narrowing -Wno-unused
+
 .endif



Home | Main Index | Thread Index | Old Index