[Mesa-dev] [Bug 105238] ast.h:648:16: error: union member 'i' has a non-trivial constructor
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Feb 26 09:39:44 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105238
--- Comment #1 from Fabio Pedretti <pedretti.fabio at gmail.com> ---
I get a slightly different error, Ubuntu 16.04, newer Ubuntu compile fine.
Full build log:
https://launchpadlibrarian.net/358638969/buildlog_ubuntu-xenial-amd64.mesa_18.1~git1802260730.0cc5be~oibaf~x_BUILDING.txt.gz
Error:
In file included from ../../../../src/compiler/glsl/glsl_lexer.ll:27:0:
../../../../src/compiler/glsl/ast.h:648:16: error: member
‘ast_type_qualifier::bitset_t ast_type_qualifier::flags::i’ with constructor
not allowed in union
bitset_t i;
^
../../../../src/compiler/glsl/ast.h:648:16: note: unrestricted unions only
available with -std=c++11 or -std=gnu++11
In file included from ../../../../src/compiler/glsl/glsl_lexer.ll:29:0:
../../../../src/compiler/glsl/glsl_parser.yy:106:30: error: member
‘ast_type_qualifier YYSTYPE::type_qualifier’ with constructor not allowed in
union
struct ast_type_qualifier type_qualifier;
^
glsl/glsl_lexer.cpp: In function ‘int yy_get_next_buffer(yyscan_t)’:
glsl/glsl_lexer.cpp:3491:47: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
if ((int) (yyg->yy_n_chars + number_to_move) >
YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
^
Makefile:2489: recipe for target 'glsl/glsl_lexer.lo' failed
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180226/4c823adc/attachment.html>
More information about the mesa-dev
mailing list