Module Name:    src
Committed By:   riastradh
Date:           Fri Feb 26 21:20:17 UTC 2016

Modified Files:
        src/external/mit/xorg/lib: libglsl.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libglsl.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libglsl.mk
diff -u src/external/mit/xorg/lib/libglsl.mk:1.1 src/external/mit/xorg/lib/libglsl.mk:1.2
--- src/external/mit/xorg/lib/libglsl.mk:1.1	Thu Dec 18 06:24:28 2014
+++ src/external/mit/xorg/lib/libglsl.mk	Fri Feb 26 21:20:17 2016
@@ -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 \

Reply via email to