summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-11-07 16:13:30 (GMT)
committerGitHub <noreply@github.com>2023-11-07 16:13:30 (GMT)
commite0d095ebf020706ec7d7c82e6674b18f1a0a2d5b (patch)
tree81df13653837d46588c856bee0cf7fcbd7779d2f /src/H5private.h
parentec695cf34f7256d7af9bbc2fcf5366da0119fcea (diff)
downloadhdf5-e0d095ebf020706ec7d7c82e6674b18f1a0a2d5b.zip
hdf5-e0d095ebf020706ec7d7c82e6674b18f1a0a2d5b.tar.gz
hdf5-e0d095ebf020706ec7d7c82e6674b18f1a0a2d5b.tar.bz2
Disable FP exceptions in H5T init code (#3837)
The H5T floating-point datatype initialization code can raise exceptions when handling signaling NaNs. This change disables FE_INVALID exceptions during initialization. Also removes the -ieee=full change for NAG Fortran as that shouldn't be necessary anymore. Fixes #3831
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 14a0ac3..3aaa0d5 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -26,6 +26,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+#include <fenv.h>
#include <float.h>
#include <math.h>
#include <setjmp.h>