[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:54:39 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105238

--- Comment #2 from Gert Wollny <gw.fossdev at gmail.com> ---
> I get a slightly different error, Ubuntu 16.04, newer Ubuntu compile fine.

Newer Ubuntus use >= gcc-6, and there compiler -std=c++14 is the default, hence
the error is alleviated because: 

> note: unrestricted unions only available with -std=c++11 or -std=gnu++11

-- 
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/6071086a/attachment.html>


More information about the mesa-dev mailing list