glsl/opt_copy_propagation_elements.cpp:72:9: error: delegating constructors are permitted only in C++11
This is sorta my fault, meson builds all c++ code with C++11 as the std, so this works fine in meson.
At this point I think that just converting the glsl compiler to C++11 would be fine, all of the major compilers (GCC, Clang, MSVC) support most or all of C++11 at this point, and anyone building with modern LLVM support has to have it anyway.
Author: Caio Marcelo de Oliveira Filho <firstname.lastname@example.org>
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
Since copy_propagation_state is expected to be heap allocated, this
change is a good fit.
Tested-by: Vinson Lee <email@example.com>
Reviewed-by: Matt Turner <firstname.lastname@example.org>