Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
NOTE: The netcdf-porting
mailing list is no longer active. The list archives are made available for historical reasons.
Hi all, I installed netcdf-4.0.1 on Mac OS X 10.6 (intel 64-bit). I got the following waring: fort-nc4.c: In function ‘nf_put_var1_int64_’: fort-nc4.c:209: warning: passing argument 4 of ‘nc_put_var1_longlong’ from incompatible pointer type ../libsrc4/netcdf.h:1043: note: expected ‘const long long int *’ but argument is of type ‘const int *’ I checked the fort-nc4.c and found function 'nf_put_var1_int64' is FCALLSCFUN4(NF_INT, nc_put_var1_longlong, NF_PUT_VAR1_INT64, nf_put_var1_int64, NCID, VARID, COORDS, INTVAR) In netcdf.h, nc_put_var1_longlong is EXTERNL int nc_put_var1_longlong(int ncid, int varid, const size_t *indexp, const long long *op); Clearly, the argument INTVAR is 'const int *' type. So it is need to change to 'const long long int *' type. How can I do this? Thanks Guangshan
netcdf-porting
archives: