Bug 5784 - netcdf C++ interface doesn't build with gcc3.1
Bug#: 5784 Product:  Gentoo Linux Version: 1.3 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mkennedy@gentoo.org Reported By: sam@quux.dropbear.id.au
Component: Applications
URL: 
Summary: netcdf C++ interface doesn't build with gcc3.1
Keywords:  
Status Whiteboard: 
Opened: 2002-07-30 13:38 0000
Description:   Opened: 2002-07-30 13:38 0000
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

------- Comment #1 From Sam Yates 2002-07-30 13:40:03 0000 -------
Created an attachment (id=2689) [details]
Patch for netcdf-3.5.0 to build C++ interface with gcc3.1

------- Comment #2 From Matthew Kennedy (RETIRED) 2002-11-20 01:51:08 0000 -------
fixed. thanks for the patch, sorry about the delay