Missing #include<algorithm> in IlmBase and OpenEXR
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, when compiling IlmBase 2.1.0 and OpenEXR 2.1.0 with VS1013 (VC12), on many occasions std::min and std::max are used. However, the compiler cannot find them. This happens in IlmBase: ImathMatrixAlgo.cpp testJacobiEigenSolver.cpp OpenEXR, many files, for example: ImfTiledOutputFile.cpp ImfTiledMisc.cpp ImfOutputFile.cpp For IlmBase adding #include <algorithm> to those two files was enough. For OpenEXR one could add #include <algorithm> to every file where the compiler complains. I added it to ImfHeader.h as this is included almost everywhere. Best regards weaker _______________________________________________ Openexr-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/openexr-devel