Dynamic exception specification is not allowed in c++-17. The enforcement needs to be relaxed for the kimg_exr plugin when using openEXR versions older than 2.3.0. (cherry picked from commit 3266a9c466)
3266a9c466