summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-01-27 23:26:17 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-01-27 23:26:17 (GMT)
commit76bcf91b27cdb0cadf31d3b736bb93752db25d7d (patch)
tree3e4d7223d46260e9bc5672d5681db3659ee993ab
parent3aadcf6b46e4e7d7da676ca94d8cb12270a116ae (diff)
downloadhdf5-76bcf91b27cdb0cadf31d3b736bb93752db25d7d.zip
hdf5-76bcf91b27cdb0cadf31d3b736bb93752db25d7d.tar.gz
hdf5-76bcf91b27cdb0cadf31d3b736bb93752db25d7d.tar.bz2
[svn-r8119] 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: Eirene.
-rw-r--r--config/gnu-flags9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index 98b7e02..e8ffbf9 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -236,6 +236,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