Menu

#46 Errors during make

open
None
3
2026-05-20
2026-05-20
Anonymous
No

Getting the following errors during the make;
This is on a RHEL 9.7 machine.

In file included from Source/FreeImage/../OpenEXR/IlmImf/ImfHeader.h:51,
from Source/FreeImage/../OpenEXR/IlmImf/ImfOutputFile.h:46,
from Source/FreeImage/PluginEXR.cpp:33:
Source/OpenEXR/Imath/ImathVec.h:228:41: error: ISO C++17 does not allow dynamic exception specifications
228 | const Vec2 & normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:232:48: error: ISO C++17 does not allow dynamic exception specifications
232 | Vec2<t> normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:440:41: error: ISO C++17 does not allow dynamic exception specifications
440 | const Vec3 & normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:444:48: error: ISO C++17 does not allow dynamic exception specifications
444 | Vec3<t> normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:622:37: error: ISO C++17 does not allow dynamic exception specifications
622 | const Vec4 & normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:626:44: error: ISO C++17 does not allow dynamic exception specifications
626 | Vec4<t> normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:714:30: error: ISO C++17 does not allow dynamic exception specifications
714 | Vec2<short>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:723:37: error: ISO C++17 does not allow dynamic exception specifications
723 | Vec2<short>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:738:28: error: ISO C++17 does not allow dynamic exception specifications
738 | Vec2<int>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:747:35: error: ISO C++17 does not allow dynamic exception specifications
747 | Vec2<int>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:762:30: error: ISO C++17 does not allow dynamic exception specifications
762 | Vec3<short>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:771:37: error: ISO C++17 does not allow dynamic exception specifications
771 | Vec3<short>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:786:28: error: ISO C++17 does not allow dynamic exception specifications
786 | Vec3<int>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:795:35: error: ISO C++17 does not allow dynamic exception specifications
795 | Vec3<int>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:809:30: error: ISO C++17 does not allow dynamic exception specifications
809 | Vec4<short>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:818:37: error: ISO C++17 does not allow dynamic exception specifications
818 | Vec4<short>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:833:28: error: ISO C++17 does not allow dynamic exception specifications
833 | Vec4<int>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:842:35: error: ISO C++17 does not allow dynamic exception specifications
842 | Vec4<int>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:1212:26: error: ISO C++17 does not allow dynamic exception specifications
1212 | Vec2<t>::normalizeExc () throw (IEX_NAMESPACE::MathExc)
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:1249:33: error: ISO C++17 does not allow dynamic exception specifications
1249 | Vec2<t>::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:1704:26: error: ISO C++17 does not allow dynamic exception specifications
1704 | Vec3<t>::normalizeExc () throw (IEX_NAMESPACE::MathExc)
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:1743:33: error: ISO C++17 does not allow dynamic exception specifications
1743 | Vec3<t>::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:2109:26: error: ISO C++17 does not allow dynamic exception specifications
2109 | Vec4<t>::normalizeExc () throw (IEX_NAMESPACE::MathExc)
| ^~~~~
Source/OpenEXR/Imath/ImathVec.h:2150:33: error: ISO C++17 does not allow dynamic exception specifications
2150 | Vec4<t>::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
| ^~~~~
In file included from Source/FreeImage/../OpenEXR/IlmImf/ImfXdr.h:108,
from Source/FreeImage/../OpenEXR/IlmImf/ImfGenericOutputFile.h:40,
from Source/FreeImage/../OpenEXR/IlmImf/ImfOutputFile.h:49,
from Source/FreeImage/PluginEXR.cpp:33:
Source/OpenEXR/Half/half.h: In constructor ‘half::half(float)’:
Source/OpenEXR/Half/half.h:462:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
462 | register int e = (x.i >> 23) & 0x000001ff;
| ^
Source/OpenEXR/Half/half.h:473:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
473 | register int m = x.i & 0x007fffff;
| ^
make[1]: *** [Makefile.gnu:64: Source/FreeImage/PluginEXR.o] Error 1
make[1]: Leaving directory '/space/Software/FreeImage/FreeImage'</t></t></t></t></t></t></int></int></short></short></int></int></short></short></int></int></short></short></t></t></t>

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB