Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib Disable C++11 warnings about `register...
details: https://anonhg.NetBSD.org/src/rev/d5f94b129975
branches: trunk
changeset: 813930:d5f94b129975
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Feb 26 21:20:17 2016 +0000
description:
Disable C++11 warnings about `register' qualifiers in glsl_lexer.cpp.
glsl_lexer.cpp was generated by a flex that still uses it. It is
harmless.
diffstat:
external/mit/xorg/lib/libglsl.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r e5c25bc5d593 -r d5f94b129975 external/mit/xorg/lib/libglsl.mk
--- a/external/mit/xorg/lib/libglsl.mk Fri Feb 26 18:29:55 2016 +0000
+++ b/external/mit/xorg/lib/libglsl.mk Fri Feb 26 21:20:17 2016 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: libglsl.mk,v 1.1 2014/12/18 06:24:28 mrg Exp $
+# $NetBSD: libglsl.mk,v 1.2 2016/02/26 21:20:17 riastradh Exp $
LIBGLSL_GENERATED_CXX_FILES = \
glsl_lexer.cpp \
glsl_parser.cpp
+COPTS.glsl_lexer.cpp+= -Wno-deprecated-register
+
LIBGLSL_FILES = \
ast_array_index.cpp \
ast_expr.cpp \
Home |
Main Index |
Thread Index |
Old Index