[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


--- 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:

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
    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) >
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