dear all,
thanks for all the replies. Carlie Coats kindly send me a modified version
of cfortran.h which solves the problem. so, to compile the fortran
bindings of netcdf 3.5 using the intel ifc f95 compiler apply the
following patch
cheers
magi
---- snip here ----
85,86c85,90
< #if
!(defined(NAGf90Fortran)||defined(f2cFortran)||defined(hpuxFortran)||defined(apolloFortran)||defined(sunFortran)||defined(IBMR2Fortran)||defined(CRAYFortran)||defined(pgiFortran))
< #if
!(defined(mipsFortran)||defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran)||defined(PowerStationFortran)||defined(AbsoftUNIXFortran)||defined(AbsoftProFortran)||defined(SXFortran))
---
> #if !(defined(NAGf90Fortran)||defined(f2cFortran)||defined(hpuxFortran))
> #if !(defined(apolloFortran)||defined(sunFortran)||defined(IBMR2Fortran))
> #if !(defined(CRAYFortran)||defined(pgiFortran)||defined(mipsFortran))
> #if !(defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran))
> #if
> !(defined(PowerStationFortran)||defined(AbsoftUNIXFortran)||defined(AbsoftProFortran))
> #if !(defined(SXFortran)||defined(INTEL_COMPILER))
126a131,133
> #if defined(__INTEL_COMPILER)
> #define INTEL_COMPILER
> #endif
128a136,139
> #endif /* ...Fortran */
> #endif /* ...Fortran */
> #endif /* ...Fortran */
> #endif /* ...Fortran */
131,132c142,147
< #if
!(defined(NAGf90Fortran)||defined(f2cFortran)||defined(hpuxFortran)||defined(apolloFortran)||defined(sunFortran)||defined(IBMR2Fortran)||defined(CRAYFortran)||defined(pgiFortran))
< #if
!(defined(mipsFortran)||defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran)||defined(PowerStationFortran)||defined(AbsoftUNIXFortran)||defined(AbsoftProFortran)||defined(SXFortran))
---
> #if !(defined(NAGf90Fortran)||defined(f2cFortran)||defined(hpuxFortran))
> #if !(defined(apolloFortran)||defined(sunFortran)||defined(IBMR2Fortran))
> #if !(defined(CRAYFortran)||defined(pgiFortran)||defined(mipsFortran))
> #if !(defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran))
> #if !(defined(PowerStationFortran)||defined(AbsoftUNIXFortran))
> #if !(defined(AbsoftProFortran)||defined(SXFortran)||defined(INTEL_COMPILER))
155c170,171
< - Portland Group Fortran: Use #define pgiFortran"
---
> - Portland Group Fortran: Use #define pgiFortran \
> - Intel Fortran: Use #define INTEL_COMPILER"
158a175,178
> #endif
> #endif
> #endif
> #endif
168c188
< #if defined(f2cFortran) || defined(NAGf90Fortran) || defined(DECFortran) ||
defined(mipsFortran) || defined(apolloFortran) || defined(sunFortran) ||
defined(CONVEXFortran) || defined(SXFortran) || defined(extname) ||
defined(pgiFortran)
---
> #if defined(f2cFortran) || defined(NAGf90Fortran) || defined(DECFortran) ||
> defined(mipsFortran) || defined(apolloFortran) || defined(sunFortran) ||
> defined(CONVEXFortran) || defined(SXFortran) || defined(extname) ||
> defined(pgiFortran) || defined(INTEL_COMPILER)
347c367
< #if defined(NAGf90Fortran) || defined(f2cFortran) || defined(mipsFortran) ||
defined(PowerStationFortran) || defined(hpuxFortran800) ||
defined(AbsoftUNIXFortran) || defined(AbsoftProFortran) || defined(SXFortran)
|| defined(pgiFortran)
---
> #if defined(NAGf90Fortran) || defined(f2cFortran) || defined(mipsFortran) ||
> defined(PowerStationFortran) || defined(hpuxFortran800) ||
> defined(AbsoftUNIXFortran) || defined(AbsoftProFortran) || defined(SXFortran)
> || defined(pgiFortran) ||defined(INTEL_COMPILER)