On Sun, Jul 12, 2020 at 12:46 PM Jonathan Wakely <jwakely@fedoraproject.org> wrote:
On 12/07/20 12:33 +0100, Ian McInerney wrote: 
>This is what the upstream project explicitly says to do when using LLVM10:
>https://github.com/imageworks/OpenShadingLanguage/blob/master/src/cmake/externalpackages.cmake#L248.
>As such, it should be expected and no upstream bug is needed.

Both G++ and Clang default to C++14 though. Why do you need to set it
explicitly?

(GCC 11 has switched to -std=gnu++17 but the upstream requirement says
C++ *or higher* so that would still be OK.
 
The project asks for C++11 by default: https://github.com/imageworks/OpenShadingLanguage/blob/630b4c042d696c94ec9b2a1b6f5adc250bd61e05/src/cmake/compiler.cmake#L30.

-Ian