diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-11-08 17:21:58 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-11-08 17:21:58 (GMT) |
commit | 75fe90f649d369186f731b02794897692ad1fb1f (patch) | |
tree | 71fde479df213349cbeb758a465a163a54d436e8 /config | |
parent | b7efd03592bebf8b9277e2dbc40bb1ac193bc3f2 (diff) | |
download | hdf5-75fe90f649d369186f731b02794897692ad1fb1f.zip hdf5-75fe90f649d369186f731b02794897692ad1fb1f.tar.gz hdf5-75fe90f649d369186f731b02794897692ad1fb1f.tar.bz2 |
[svn-r9514] Purpose: Kind of bug fix
Description: For Intel 8.1 compiler, C99 standard has to be enabled to define macro ULLONG_MAX in its own header file limits.h.
Solution: Add flag -std=c99 to Intel compiler if the version is 8.1.
Platforms tested: tungsten and mulligatawny(an NCSA user's workstation running Fedora and Intel 8.1. Ramesh Balakrishnan is his name.)
Diffstat (limited to 'config')
-rw-r--r-- | config/intel-flags | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/intel-flags b/config/intel-flags index 9e9a5e8..34eca87 100644 --- a/config/intel-flags +++ b/config/intel-flags @@ -73,6 +73,19 @@ if test "X-icc" = "X-$cc_vendor"; then fi +# Version specific ICC flags +# +# Please follow the pattern below by adding new versions at the top, copying +# the information from the previous version and adding modifications to that. +case "$cc_vendor-$cc_version" in + icc-8.1*) + # Add C99 standard flag to enable definition of ULLONG_MAX because in Intel + # compiler header file limits.h, C99 has to be enable to define this macro. + # Compilers of Version 8 and before don't have this problem. + CFLAGS="$CFLAGS -std=c99" + ;; +esac + # Clear cc info if no flags set if test "X-$cc_flags_set" = "X-"; then cc_vendor= |