problem in pnetcdf.h

Rob Ross rross at mcs.anl.gov
Sat Feb 7 02:25:28 CST 2004


Hi James,

Yes; I have fixed this in CVS and have attached a patch.  Please let us 
know if this does or does not cover things for you, or if you have other 
issues.

Regards,

Rob

On Fri, 6 Feb 2004, Foucar, James G wrote:

> Hello, I think there may be a bug in the pnetcdf.h file. I was getting link
> errors due to name mangling in a project using c++. Shouldn't the extern C
> cover the entire file instead of ending on line 201?
> -James Foucar
-------------- next part --------------
Index: src/lib/pnetcdf.h
===================================================================
RCS file: /home/gropp/cvsMaster_z/parallel-netcdf/src/lib/pnetcdf.h,v
retrieving revision 1.6
diff -r1.6 pnetcdf.h
200,203d199
< #if defined(__cplusplus)
< }
< #endif
< 
923a920,924
> 
> #if defined(__cplusplus)
> }
> #endif
> 


More information about the parallel-netcdf mailing list