The netcdf configure script fails to recognize g++ 3.1 as a working C++ compiler. This is partly the fault of the aclocal included in the source, but it seems like there's something odd with the autoconf boilerplate code too :( The netcdf C++ interface code itself isn't compliant with the new C++ standard. Attached is a patch for the configure script and some files in the cxx/ directory that should allow a working C++ interface with gcc 3.1
Created attachment 2689 [details, diff] Patch for netcdf-3.5.0 to build C++ interface with gcc3.1
fixed. thanks for the patch, sorry about the delay