When building with clang in bullseye, c++17 is used. There was FTBFS due to two problems:
Could you please test it still builds fine in the various distros/archs before we merge?
Signed-off-by: Michele Calgaro <email@example.com>
I didn't do a test, for now, but there is one comment.
CXXFLAGS="$SAVED_CXXFLAGS $OPENEXR_CFLAGS $OPENEXR_CXXFLAGS"
CXXFLAGS="$SAVED_CXXFLAGS -fexceptions $OPENEXR_CFLAGS $OPENEXR_CXXFLAGS"
Here it seems to be a good idea to use the variable: $(USE_EXCEPTIONS) which is set according to whether the compiler provides such a flag.
Successfully tested building on Debian 7.x (Wheezy) and Ubuntu 21.10 (Impish).
Builds without problems on Slackware64-current.
Thanks both for testing!
No due date set.
This pull request currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?