Source-Changes-HG archive

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

[src/trunk]: src/x11/lib/GLU apply some -Wno-error. there are char * vs. con...



details:   https://anonhg.NetBSD.org/src/rev/9c608fac5722
branches:  trunk
changeset: 767533:9c608fac5722
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jul 21 03:36:29 2011 +0000

description:
apply some -Wno-error.  there are char * vs. const char * issues that
GCC 4.5 complains about, that are fixed in newer eg, MesaLib.

diffstat:

 x11/lib/GLU/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 53deb0ae20c7 -r 9c608fac5722 x11/lib/GLU/Makefile
--- a/x11/lib/GLU/Makefile      Thu Jul 21 03:13:30 2011 +0000
+++ b/x11/lib/GLU/Makefile      Thu Jul 21 03:36:29 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2005/09/24 13:51:46 chs Exp $
+#      $NetBSD: Makefile,v 1.8 2011/07/21 03:36:29 mrg Exp $
 
 NOLINT=                1       # XTODO: tess.ln SIGSEGVs lint :(
 
@@ -68,3 +68,9 @@
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>
+
+# Many const char * vs char * issues in xsrc/xfree
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
+# XXX -Wno-deprecated doesn't work?
+CXXFLAGS+=     -Wno-error
+.endif



Home | Main Index | Thread Index | Old Index