[MINC-users] netcdf 3.5.0 and fedora core 3

Søren Christensen minc-users@bic.mni.mcgill.ca
Thu Jun 9 04:42:04 2005


Hi,
I was thinking that this issue might be of interest to other newbies.
 I have tried to compile NetCDF 3.5.0 on Fedora 3 core, but the c++ compiler is unable to compile the test program during config.
I tried with NetCDF 3.6.0 from Unidatas site and there were no problems.

The config log says:
....
configure:1225: checking C++ compiler "c++"
configure:1243: c++ -o conftest  -DNDEBUG  conftest.C  1>&5
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c ++/3.4.3/backward/iostream.h:31,
                 from configure:1235:
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/backward/back ward_warning.h:32:2: warning: #warning This file includes at least one deprecate d or antiquated header. Please consider using one of the 32 headers found in sec tion 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated h eader <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c ++/3.4.3/cstdlib:52,
....


1) Should i expect problems from using a never netCDF version (than the one listed at http://www.bic.mni.mcgill.ca/software/distribution/)

2) What is the cause of the problem? Is it a deprecated header in NetCDF 3.5.0 relative to the default c++ compiler in Fedora?

Thanks!
Soren