[Mesa-dev] [Bug 107305] glsl/opt_copy_propagation_elements.cpp:72:9: error: delegating constructors are permitted only in C++11

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 23 18:47:51 UTC 2018


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

Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com> ---
Fixed by

commit 52d831ff83036773978aabf52dde3bb73bb211c7
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Fri Jul 20 13:21:33 2018 -0700

    glsl: remove delegating constructors to allow build with C++98

    Delegating constructors is a C++11 feature, so this was breaking when
    compiling with C++98. Change the copy_propagation_state() calls that
    used the convenience constructor to use a static member function
    instead.

    Since copy_propagation_state is expected to be heap allocated, this
    change is a good fit.

    Tested-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107305

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180723/6011e047/attachment.html>


More information about the mesa-dev mailing list