summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/irix6.x6
-rw-r--r--config/irix646
2 files changed, 10 insertions, 2 deletions
diff --git a/config/irix6.x b/config/irix6.x
index ed16b69..4699d00 100644
--- a/config/irix6.x
+++ b/config/irix6.x
@@ -25,7 +25,11 @@ case "X-$CC_BASENAME" in
;;
*)
- CFLAGS="$CFLAGS -ansi"
+ # Do *not* use -ansi because it prevents hdf5 from being able
+ # to read modification dates from the file. On some systems it
+ # can also result in compile errors in system header files
+ # since hdf5 includes a couple non-ANSI header files.
+ #CFLAGS="$CFLAGS -ansi"
# Always turn off these compiler warnings:
# 1174: function declared but not used
diff --git a/config/irix64 b/config/irix64
index 1c17c7c..ac3b2b8 100644
--- a/config/irix64
+++ b/config/irix64
@@ -26,7 +26,11 @@ case "X-$CC_BASENAME" in
;;
*)
- CFLAGS="$CFLAGS -ansi"
+ # Do *not* use -ansi because it prevents hdf5 from being able
+ # to read modification dates from the file. On some systems it
+ # can also result in compile errors in system header files
+ # since hdf5 includes a couple non-ANSI header files.
+ #CFLAGS="$CFLAGS -ansi"
# Always turn off these compiler warnings for the -64 compiler:
# 1174: function declared but not used