summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-01-27 23:25:00 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-01-27 23:25:00 (GMT)
commit5f16e07bbfd4d91d8a3892cb5a28fd2ad3ffdf96 (patch)
tree8539cbb5a29189bfd834a01eee1ccb6aafb9424c
parent61a451f89ea2015eac08e361e6ad244bd4af5f25 (diff)
downloadhdf5-5f16e07bbfd4d91d8a3892cb5a28fd2ad3ffdf96.zip
hdf5-5f16e07bbfd4d91d8a3892cb5a28fd2ad3ffdf96.tar.gz
hdf5-5f16e07bbfd4d91d8a3892cb5a28fd2ad3ffdf96.tar.bz2
[svn-r8118] Purpose:
improvement. Description: Created an entry for 2.96 and added -Wno-long-long to the CFLAGS to suppress the thousands of 'long long' warnings because we are using it and we know it is not in the C89 standard. Platforms tested: Only in verbena. Misc. update:
-rw-r--r--config/gnu-flags9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index 999a5b5..2b2f3f6 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -240,6 +240,15 @@ case "$cc_vendor-$cc_version" in
# Flags are set
cc_flags_set=yes
;;
+
+ gcc-2.96*)
+ # -Wno-long-long to suppress the long long warnings since we want
+ # to use it though it is not in the C89 standard.
+ CFLAGS="$CFLAGS -Wno-long-long"
+
+ # Flags are set
+ cc_flags_set=yes
+ ;;
esac
# Clear cc info if no flags set