On Thu, 29 May 2014, Peter Hillman wrote:

It seems like the OpenEXR library does rather assume that calls to 'new' etc will throw exceptions if they fail, rather than nullptr testing. This is in the library itself, rather than the fuzz tests.

Isn't that what the C++ standard has always said that 'new' should do?

Hardly any modern C++ code (including the standard C++ library) will work properly if new does not throw an exception on failure to allocate memory.

It seems best to fix/replace the broken compiler.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to