compiling issue with version 1.1.0 and C++ compiler

Rob Latham robl at mcs.anl.gov
Thu Nov 5 13:02:53 CST 2009


On Thu, Nov 05, 2009 at 10:44:11AM -0800, Rich Lee wrote:
> Dear parallel netcdf team:
> 
> There is a problem in pnetcdf.h in the release 1.1.0. -- The "#endif" on the
> line 2132 should move to the end of the file for C++ compiler to be happy to
> compile pnetcdf.h included files. Also, the line 261 should be removed where
> put #include <mpi.h> inside extern "C" {} for C++ compiler. Thanks.

Thanks for the report, Rich.  Clearly we need to add "compile with C++
compiler" to our testing.  I've committed a fix in revision 714 of our
SVN repository. 

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA


More information about the parallel-netcdf mailing list