<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - ast.h:648:16: error: union member 'i' has a non-trivial constructor"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105238#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - ast.h:648:16: error: union member 'i' has a non-trivial constructor"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105238">bug 105238</a>
from <span class="vcard"><a class="email" href="mailto:pedretti.fabio@gmail.com" title="Fabio Pedretti <pedretti.fabio@gmail.com>"> <span class="fn">Fabio Pedretti</span></a>
</span></b>
<pre>I get a slightly different error, Ubuntu 16.04, newer Ubuntu compile fine.
Full build log:
<a href="https://launchpadlibrarian.net/358638969/buildlog_ubuntu-xenial-amd64.mesa_18.1~git1802260730.0cc5be~oibaf~x_BUILDING.txt.gz">https://launchpadlibrarian.net/358638969/buildlog_ubuntu-xenial-amd64.mesa_18.1~git1802260730.0cc5be~oibaf~x_BUILDING.txt.gz</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>