* installing *source* package 'ncdfFlow' ...
configure: search for hdf5 library in: /usr/lib
configure: found hdf5 library in: /usr/lib
configure: using bundled netcdf4 library
configure: 'found ' trimmed_netcdf-4.2.1.1 ' header sources and tar archive;using what is there.'
configure: Using the following compilation and linking flags for ncdfFlow
configure: PKG_CPPFLAGS=-I/usr/include
configure: PKG_LIBS=-L/usr/lib -lhdf5 -lhdf5_hl
configure: creating ./config.status
config.status: creating src/Makevars
** libs
/Library/Frameworks/R.framework/Resources/share/make/shlib.mk:6: warning: overriding commands for target `ncdfFlow.so'
Makevars:24: warning: ignoring old commands for target `ncdfFlow.so'
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c bitOps.c -o bitOps.o
bitOps.c:23:27: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion]
mask = 1 << bitIndex;
˜ ˜˜^˜˜˜˜˜˜˜˜˜˜
bitOps.c:30:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion]
mask = ˜(1 << bitIndex);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
bitOps.c:95:23: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion]
mask = 1 << bitIndex;
˜ ˜˜^˜˜˜˜˜˜˜˜˜˜
bitOps.c:100:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion]
mask = ˜(1 << bitIndex);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c init.c -o init.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c netCDF.c -o netCDF.o
netCDF.c:34:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t chunksize[] = {1, Y, X};
˜ ^
netCDF.c:34:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t chunksize[] = {1, Y, X};
˜ ^
netCDF.c:40:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ((retval = nc_def_dim(ncid, "meta",metaSize, &m_dimid)))
˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜
netCDF.c:43:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ((retval = nc_def_dim(ncid, "event", X, &x_dimid)))
˜˜˜˜˜˜˜˜˜˜ ^
netCDF.c:45:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ((retval = nc_def_dim(ncid, "channel", Y, &y_dimid)))
˜˜˜˜˜˜˜˜˜˜ ^
netCDF.c:47:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ((retval = nc_def_dim(ncid, "sample", Z , &z_dimid))) // was NC_UNLIMITED Z
˜˜˜˜˜˜˜˜˜˜ ^
netCDF.c:87:68: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if((retval = nc_put_att_int(ncid, varid, "eventCount", NC_INT, Z, eCount)))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
netCDF.c:116:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t start[] = {sample, 0, 0};
˜^˜˜˜˜˜
netCDF.c:117:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t count[] = {1, nCol, nRow};
˜ ^˜˜˜
netCDF.c:117:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t count[] = {1, nCol, nRow};
˜ ^˜˜˜
netCDF.c:150:68: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if((retval = nc_put_att_int(ncid, varid, "eventCount", NC_INT, len, eCount)))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜
netCDF.c:196:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t start[] = {sample, colStart, 0};
˜^˜˜˜˜˜
netCDF.c:196:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t start[] = {sample, colStart, 0};
˜ ^˜˜˜˜˜˜˜
netCDF.c:197:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t count[] = {1, colEnd +1 - colStart, nRow};
˜ ˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜
netCDF.c:197:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t count[] = {1, colEnd +1 - colStart, nRow};
˜ ^˜˜˜
netCDF.c:168:61: warning: unused variable 'failcount' [-Wunused-variable]
int retval, ncid, varid, colStart, colEnd, nRow, sample,failcount=0;
^
netCDF.c:166:11: warning: unused variable 'estack' [-Wunused-variable]
hid_t estack;
^
netCDF.c:253:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t start =INTEGER(_start)[0]-1 ;
˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜
netCDF.c:254:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t count = INTEGER(_count)[0];
˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
netCDF.c:267:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int metaSize=count;
˜˜˜˜˜˜˜˜ ^˜˜˜˜
netCDF.c:316:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
count=metaSize;
˜^˜˜˜˜˜˜˜
netCDF.c:340:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
int sizeInBytes=ceil((float)eventCount/8);
˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
netCDF.c:343:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t chunksize[] = {1,sizeInBytes};
˜ ^˜˜˜˜˜˜˜˜˜˜
netCDF.c:348:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ((retval = nc_def_dim(ncid, "indice", sizeInBytes, &x_dimid)))
˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
netCDF.c:350:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ((retval = nc_def_dim(ncid, "Node", totalNodeCount, &y_dimid)))
˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
netCDF.c:387:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if((retval = nc_put_att_int(ncid, varid, "nbitset", NC_INT,totalNodeCount, nbitset)))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
netCDF.c:412:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t start[] = {nodeIndStart, 0};
˜^˜˜˜˜˜˜˜˜˜˜˜
netCDF.c:413:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t count[] = {nNodes,nLength};
˜^˜˜˜˜˜
netCDF.c:413:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t count[] = {nNodes,nLength};
˜ ^˜˜˜˜˜˜
netCDF.c:463:65: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if((retval = nc_put_att_int(ncid, varid, "nbitset", NC_INT, totalNodeCount, nbitset)))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
netCDF.c:499:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
const size_t start[] = {nodeIndStart, 0};
˜^˜˜˜˜˜˜˜˜˜˜˜
netCDF.c:500:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
const size_t count[] = {nNode,sizeInBytes};
˜^˜˜˜˜
netCDF.c:500:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
const size_t count[] = {nNode,sizeInBytes};
˜ ^˜˜˜˜˜˜˜˜˜˜
33 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/liblib/stub.c -o trimmed_netcdf-4.2.1.1/liblib/stub.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/datt.c -o trimmed_netcdf-4.2.1.1/libdispatch/datt.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dattget.c -o trimmed_netcdf-4.2.1.1/libdispatch/dattget.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dattinq.c -o trimmed_netcdf-4.2.1.1/libdispatch/dattinq.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dattput.c -o trimmed_netcdf-4.2.1.1/libdispatch/dattput.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dcompound.c -o trimmed_netcdf-4.2.1.1/libdispatch/dcompound.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dcopy.c -o trimmed_netcdf-4.2.1.1/libdispatch/dcopy.o
trimmed_netcdf-4.2.1.1/libdispatch/dcopy.c:154:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(ids = (int *)malloc(nids * sizeof(int))))
^˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dcopy.c:179:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(ids = (int *)malloc(nids * sizeof(int))))
^˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dcopy.c:311:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(start = malloc(real_ndims * sizeof(size_t))))
^˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dcopy.c:313:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(count = malloc(real_ndims * sizeof(size_t))))
^˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dcopy.c:321:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(dimlen = malloc(real_ndims * sizeof(size_t))))
^˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dcopy.c:468:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(data = malloc(len * NC_atomictypelen(xtype))))
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
6 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/ddim.c -o trimmed_netcdf-4.2.1.1/libdispatch/ddim.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/ddispatch.c -o trimmed_netcdf-4.2.1.1/libdispatch/ddispatch.o
trimmed_netcdf-4.2.1.1/libdispatch/ddispatch.c:33:20: warning: unused variable 'servers' [-Wunused-variable]
static const char* servers[] = {
^
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/denum.c -o trimmed_netcdf-4.2.1.1/libdispatch/denum.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/derror.c -o trimmed_netcdf-4.2.1.1/libdispatch/derror.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dfile.c -o trimmed_netcdf-4.2.1.1/libdispatch/dfile.o
trimmed_netcdf-4.2.1.1/libdispatch/dfile.c:125:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
i = fread(magic, MAGIC_NUMBER_LEN, 1, fp);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dfile.c:1361:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if(size) *size = NC_atomictypelen(xtype);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dfile.c:1639:21: warning: implicit conversion loses integer precision: 'rlim_t' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
maxfd = rl.rlim_max;
˜ ˜˜˜^˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dfile.c:1641:21: warning: implicit conversion loses integer precision: 'rlim_t' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
maxfd = rl.rlim_cur;
˜ ˜˜˜^˜˜˜˜˜˜˜
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dgroup.c -o trimmed_netcdf-4.2.1.1/libdispatch/dgroup.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dnclog.c -o trimmed_netcdf-4.2.1.1/libdispatch/dnclog.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dopaque.c -o trimmed_netcdf-4.2.1.1/libdispatch/dopaque.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dparallel.c -o trimmed_netcdf-4.2.1.1/libdispatch/dparallel.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dstring.c -o trimmed_netcdf-4.2.1.1/libdispatch/dstring.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dsubstrate.c -o trimmed_netcdf-4.2.1.1/libdispatch/dsubstrate.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dtype.c -o trimmed_netcdf-4.2.1.1/libdispatch/dtype.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.c -o trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.o
trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.c:167:14: warning: implicit conversion loses integer precision: 'int32_t' (aka 'int') to 'uint8_t' (aka 'unsigned char') [-Wconversion]
dst[0] = uc;
˜ ^˜
trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.c:170:19: warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wconversion]
dst[0] = 0xC0 + (uc >> 6);
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.c:180:19: warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wconversion]
dst[0] = 0xE0 + (uc >> 12);
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.c:185:19: warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wconversion]
dst[0] = 0xF0 + (uc >> 18);
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.c:536:19: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
buffer = malloc(result * sizeof(int32_t) + 1);
^˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.c:550:36: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
newptr = realloc(buffer, result+1);
˜˜˜˜˜˜˜ ˜˜˜˜˜˜^˜
6 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dv2i.c -o trimmed_netcdf-4.2.1.1/libdispatch/dv2i.o
trimmed_netcdf-4.2.1.1/libdispatch/dv2i.c:160:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size = nctypelen(type);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dv2i.c:240:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
*nrecvarsp = nrvars;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dv2i.c:947:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
const int status = nc_put_att(ncid, varid, name, datatype, len, value);
˜˜˜˜˜˜˜˜˜˜ ^˜˜
3 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dvar.c -o trimmed_netcdf-4.2.1.1/libdispatch/dvar.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dvarget.c -o trimmed_netcdf-4.2.1.1/libdispatch/dvarget.o
trimmed_netcdf-4.2.1.1/libdispatch/dvarget.c:134:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memtypelen = nctypelen(memtype);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarget.c:195:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
mystart = (size_t *)calloc(varndims * 7, sizeof(ptrdiff_t));
˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarget.c:254:18: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
length[idim] = mymap[idim] * myedges[idim];
^˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarget.c:255:48: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
stop[idim] = mystart[idim] + myedges[idim] * mystride[idim];
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarget.c:317:13: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
value += (mymap[idim] * memtypelen);
^˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarget.c:318:20: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
mystart[idim] += mystride[idim];
˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
6 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dvarinq.c -o trimmed_netcdf-4.2.1.1/libdispatch/dvarinq.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dvarput.c -o trimmed_netcdf-4.2.1.1/libdispatch/dvarput.o
trimmed_netcdf-4.2.1.1/libdispatch/dvarput.c:137:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memtypelen = nctypelen(memtype);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarput.c:198:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
mystart = (size_t *)calloc(varndims * 7, sizeof(ptrdiff_t));
˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarput.c:237:18: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
length[idim] = mymap[idim] * myedges[idim];
^˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarput.c:238:48: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
stop[idim] = mystart[idim] + myedges[idim] * mystride[idim];
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarput.c:294:13: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
value += (mymap[idim] * memtypelen);
^˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libdispatch/dvarput.c:295:20: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
mystart[idim] += mystride[idim];
˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
6 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/dvlen.c -o trimmed_netcdf-4.2.1.1/libdispatch/dvlen.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/nc_uri.c -o trimmed_netcdf-4.2.1.1/libdispatch/nc_uri.o
trimmed_netcdf-4.2.1.1/libdispatch/nc_uri.c:70:48: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
while((c=*p1++)) {if(c != '\\') *p++ = c;}
˜ ^
trimmed_netcdf-4.2.1.1/libdispatch/nc_uri.c:80:56: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
while((c=*p1++)) {if(c != ' ' && c != '\t') *p++ = c;}
˜ ^
trimmed_netcdf-4.2.1.1/libdispatch/nc_uri.c:241:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t plen = (select - proj);
˜˜˜˜ ˜˜˜˜˜˜˜^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nc_uri.c:378:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
*cq++ = c;
˜ ^
trimmed_netcdf-4.2.1.1/libdispatch/nc_uri.c:392:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
plist = (char**)calloc(1,sizeof(char*)*(2*nparams+1)); /* +1 for null termination */
˜ ˜˜˜˜˜˜˜˜˜^˜
5 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/ncaux.c -o trimmed_netcdf-4.2.1.1/libdispatch/ncaux.o
trimmed_netcdf-4.2.1.1/libdispatch/ncaux.c:120:69: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
newfields = (struct NCAUX_FIELD*)realloc(cmpd->fields,cmpd->nfields+1*sizeof(struct NCAUX_FIELD));
˜˜˜˜˜˜^˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncaux.c:129:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(field->dimsizes,dimsizes,sizeof(int)*ndims);
˜^˜˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
trimmed_netcdf-4.2.1.1/libdispatch/ncaux.c:129:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(field->dimsizes,dimsizes,sizeof(int)*ndims);
˜^˜˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
trimmed_netcdf-4.2.1.1/libdispatch/ncaux.c:141:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
for(i=0;i<ndims;i++) product *= dimsizes[i];
˜˜ ^˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncaux.c:316:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
return align->alignment;
˜˜˜˜˜˜ ˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncaux.c:381:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
offset += getpadding(offset,alignment);
˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncaux.c:381:30: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
offset += getpadding(offset,alignment);
˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜
7 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c -o trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.o
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:48:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb == NULL) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:51:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb->nonextendible) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:73:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb == NULL) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:74:58: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(sz > bb->alloc) {if(!ncbytessetalloc(bb,sz)) return ncbytesfail();}
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:83:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb == NULL) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:99:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb == NULL) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:100:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(index >= bb->length) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:108:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb == NULL) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:109:65: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb->length >= bb->alloc) if(!ncbytessetalloc(bb,0)) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:119:41: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
ncbytesappendn(bb,(void*)s,strlen(s)+1); /* include trailing null*/
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜^˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:121:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb->length == 0) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:129:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb == NULL || elem == NULL) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:130:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
if(n == 0) {n = strlen((char*)elem);}
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:131:65: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
while(!ncbytesavail(bb,n)) {if(!ncbytessetalloc(bb,0)) return ncbytesfail();}
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:144:13: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
for(i=bb->alloc;i>=1;i--) {bb->content[i]=bb->content[i-1];}
˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:141:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb == NULL) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:142:65: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb->length >= bb->alloc) if(!ncbytessetalloc(bb,0)) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.c:172:27: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if(bb == NULL) return ncbytesfail();
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
18 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c -o trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.o
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:31:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
hm->table = (NClist**)malloc(hm->alloc*sizeof(NClist*));
˜˜˜˜^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:33:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset((void*)hm->table,0,hm->alloc*sizeof(NClist*));
˜˜˜˜^˜˜˜˜˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:33:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset((void*)hm->table,0,hm->alloc*sizeof(NClist*));
˜˜˜˜^˜˜˜˜˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:60:20: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
offset = (hash % hm->alloc);
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:60:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
offset = (hash % hm->alloc);
˜ ˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:63:11: warning: operand of ? changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
len = nclistlength(seq);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/include/nclist.h:63:36: note: expanded from macro 'nclistlength'
#define nclistlength(l) ((l)?(l)->length:0U)
˜˜˜˜˜^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:83:20: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
offset = (hash % hm->alloc);
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:83:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
offset = (hash % hm->alloc);
˜ ˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:86:11: warning: operand of ? changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
len = nclistlength(seq);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/include/nclist.h:63:36: note: expanded from macro 'nclistlength'
#define nclistlength(l) ((l)?(l)->length:0U)
˜˜˜˜˜^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:106:20: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
offset = (hash % hm->alloc);
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:106:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
offset = (hash % hm->alloc);
˜ ˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:109:11: warning: operand of ? changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
len = nclistlength(seq);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/include/nclist.h:63:36: note: expanded from macro 'nclistlength'
#define nclistlength(l) ((l)?(l)->length:0U)
˜˜˜˜˜^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:113:24: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
nclistremove(seq,i+1);
˜˜˜˜˜˜˜˜˜˜˜˜ ˜^˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:114:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
nclistremove(seq,i);
˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:140:20: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
offset = (hash % hm->alloc);
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:140:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
offset = (hash % hm->alloc);
˜ ˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:143:11: warning: operand of ? changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
len = nclistlength(seq);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/include/nclist.h:63:36: note: expanded from macro 'nclistlength'
#define nclistlength(l) ((l)?(l)->length:0U)
˜˜˜˜˜^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:163:54: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if(hashp) *hashp = (nchashid)nclistget(seq,index*2);
˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜^˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:164:48: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if(elemp) *elemp = nclistget(seq,(index*2)+1);
˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜^˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:183:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
keys = (nchashid*)malloc(sizeof(nchashid)*hm->size);
˜˜˜˜˜^˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.c:187:50: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
keys[index++] = (nchashid)nclistget(seq,j);
˜˜˜˜˜˜˜˜˜ ^
21 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/nclist.c -o trimmed_netcdf-4.2.1.1/libdispatch/nclist.o
trimmed_netcdf-4.2.1.1/libdispatch/nclist.c:175:48: warning: implicit conversion loses integer precision: 'ncelem' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
if(l == NULL || (len=l->length) == 0) return ncDATANULL;
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libdispatch/nctime.c -o trimmed_netcdf-4.2.1.1/libdispatch/nctime.o
trimmed_netcdf-4.2.1.1/libdispatch/nctime.c:122:15: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion]
date->day = idoy;
˜ ^˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nctime.c:193:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
doy = (long) floor(etime / 24.) + 1;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nctime.c:283:46: warning: implicit conversion loses integer precision: 'long' to 'short' [-Wconversion]
ehtime.month = delMonths - (12 * delYears) + 1;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nctime.c:535:37: warning: implicit conversion turns floating-point number into integer: 'double' to 'long' [-Wconversion]
*nDel = (frange + 1.e-10*delHours)/delHours;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nctime.c:516:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
*nDel = abs(range)/delMonths;
˜˜˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libdispatch/nctime.c:1092:9: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
isec = sec;
˜ ^˜˜
6 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/attr.c -o trimmed_netcdf-4.2.1.1/libsrc/attr.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/dim.c -o trimmed_netcdf-4.2.1.1/libsrc/dim.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/lookup3.c -o trimmed_netcdf-4.2.1.1/libsrc/lookup3.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/memio.c -o trimmed_netcdf-4.2.1.1/libsrc/memio.o
trimmed_netcdf-4.2.1.1/libsrc/memio.c:206:39: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion]
status = memio_new(path, ioflags, initialsz, &nciop, &memio);
˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:212:39: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memio->memory = (char*)malloc(memio->alloc);
˜˜˜˜˜˜ ˜˜˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:232:39: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memio->memory = (char*)malloc(memio->alloc);
˜˜˜˜˜˜ ˜˜˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:256:32: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if(sizehintp) *sizehintp = pagesize;
˜ ^˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:334:42: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memio->memory = (char*)malloc(memio->alloc);
˜˜˜˜˜˜ ˜˜˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:348:36: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
ssize_t count = read(fd, pos, red);
˜˜˜˜ ^˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:360:24: warning: implicit conversion changes signedness: 'long long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
sizehint = filesize/2;
˜ ˜˜˜˜˜˜˜˜^˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:323:8: warning: variable 'nciop' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if(filesize < 0) {status = errno; goto unwind_open;}
^˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:380:17: note: uninitialized use occurs here
memio_close(nciop,0);
^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:323:5: note: remove the 'if' if its condition is always false
if(filesize < 0) {status = errno; goto unwind_open;}
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:319:8: warning: variable 'nciop' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if(fd < 0) {status = errno; goto unwind_open;}
^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:380:17: note: uninitialized use occurs here
memio_close(nciop,0);
^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:319:5: note: remove the 'if' if its condition is always false
if(fd < 0) {status = errno; goto unwind_open;}
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:287:16: note: initialize the variable 'nciop' to silence this warning
ncio* nciop;
^
= NULL
trimmed_netcdf-4.2.1.1/libsrc/memio.c:426:47: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
newmem = (char*)realloc(memio->memory,newsize);
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:430:30: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
memset((void*)(newmem+memio->alloc),0,(newsize - memio->alloc));
˜˜˜˜˜˜^
/usr/include/secure/_string.h:73:21: note: expanded from macro 'memset'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
/usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
^
trimmed_netcdf-4.2.1.1/libsrc/memio.c:430:30: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
memset((void*)(newmem+memio->alloc),0,(newsize - memio->alloc));
˜˜˜˜˜˜^
/usr/include/secure/_string.h:74:30: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
trimmed_netcdf-4.2.1.1/libsrc/memio.c:430:30: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
memset((void*)(newmem+memio->alloc),0,(newsize - memio->alloc));
˜˜˜˜˜˜^
/usr/include/secure/_string.h:74:62: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
/usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
^
trimmed_netcdf-4.2.1.1/libsrc/memio.c:430:30: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
memset((void*)(newmem+memio->alloc),0,(newsize - memio->alloc));
˜˜˜˜˜˜^
/usr/include/secure/_string.h:75:27: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
trimmed_netcdf-4.2.1.1/libsrc/memio.c:477:41: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
ssize_t count = write(fd, pos, written);
˜˜˜˜˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:525:37: warning: implicit conversion changes signedness: 'unsigned long long' to 'off_t' (aka 'long long') [-Wsign-conversion]
status = guarantee(nciop, offset+extent);
˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:525:31: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
status = guarantee(nciop, offset+extent);
^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:545:35: warning: implicit conversion changes signedness: 'unsigned long long' to 'off_t' (aka 'long long') [-Wsign-conversion]
status = guarantee(nciop,to+nbytes);
˜˜˜˜˜˜˜˜˜ ˜˜^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:545:33: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
status = guarantee(nciop,to+nbytes);
^˜˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:549:9: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
if((to + nbytes) > from || (from + nbytes) > to) {
^˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/memio.c:549:33: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
if((to + nbytes) > from || (from + nbytes) > to) {
^˜˜˜ ˜
21 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/nc.c -o trimmed_netcdf-4.2.1.1/libsrc/nc.o
trimmed_netcdf-4.2.1.1/libsrc/nc.c:174:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
ncp->xsz = ncx_len_NC(ncp,sizeof_off_t);
˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:186:24: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
if(ncp->begin_var < index + h_minfree)
^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:216:23: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
if (ncp->begin_rec < index + v_minfree ||
^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:220:24: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
if(ncp->begin_rec < index + v_minfree)
^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:265:18: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
ncp->recsize = *last->dsizes * last->xsz;
^˜˜˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:267:19: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
ncp->recsize += *last->dsizes * last->xsz;
^˜˜˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:475:63: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
const int status = fill_NC_var(gnu, gnu_varp, varsize, recno);
˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:546:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
gnu_off = gnu_varp->begin + (off_t)(gnu->recsize * recno);
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:547:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
old_off = old_varp->begin + (off_t)(old->recsize * recno);
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:823:24: warning: implicit conversion changes signedness: 'const size_t' (aka 'const unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion]
*calcsizep = ncp->xsz; /* size of header */
˜ ˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:838:26: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion]
varsize = last_fix->len;
˜ ˜˜˜˜˜˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:849:34: warning: implicit conversion changes signedness: 'unsigned long long' to 'off_t' (aka 'long long') [-Wsign-conversion]
*calcsizep = ncp->begin_rec + ncp->numrecs * ncp->recsize;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:849:24: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
*calcsizep = ncp->begin_rec + ncp->numrecs * ncp->recsize;
˜˜˜˜˜^˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/nc.c:1498:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
*size = atomic_size[typeid - 1];
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
14 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/nc3dispatch.c -o trimmed_netcdf-4.2.1.1/libsrc/nc3dispatch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/ncio.c -o trimmed_netcdf-4.2.1.1/libsrc/ncio.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/nclistmgr.c -o trimmed_netcdf-4.2.1.1/libsrc/nclistmgr.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/ncx.c -o trimmed_netcdf-4.2.1.1/libsrc/ncx.o
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:44:9: warning: 'LONG_LONG_MAX' macro redefined
#define LONG_LONG_MAX LLONG_MAX
^
/usr/bin/../lib/clang/3.2/include/limits.h:112:9: note: previous definition is here
#define LONG_LONG_MAX __LONG_LONG_MAX__
^
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:45:9: warning: 'LONG_LONG_MIN' macro redefined
#define LONG_LONG_MIN LLONG_MIN
^
/usr/bin/../lib/clang/3.2/include/limits.h:113:9: note: previous definition is here
#define LONG_LONG_MIN (-__LONG_LONG_MAX__-1LL)
^
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:46:9: warning: 'ULONG_LONG_MAX' macro redefined
#define ULONG_LONG_MAX ULLONG_MAX
^
/usr/bin/../lib/clang/3.2/include/limits.h:114:9: note: previous definition is here
#define ULONG_LONG_MAX (__LONG_LONG_MAX__*2ULL+1ULL)
^
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:356:14: warning: implicit conversion loses integer precision: 'int' to 'ix_short' (aka 'short') [-Wconversion]
*ip = *cp++ << 8;
˜ ˜˜˜˜˜˜^˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:371:16: warning: implicit conversion changes signedness: 'int' to 'uchar' (aka 'unsigned char') [-Wsign-conversion]
*cp++ = (*ip) >> 8;
˜ ˜˜˜˜˜˜^˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:381:8: warning: implicit conversion loses integer precision: 'ix_short' (aka 'short') to 'schar' (aka 'signed char') [-Wconversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:392:8: warning: implicit conversion loses integer precision: 'ix_short' (aka 'short') to 'uchar' (aka 'unsigned char') [-Wconversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:443:8: warning: implicit conversion changes signedness: 'ix_short' (aka 'short') to 'unsigned int' [-Wsign-conversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:477:8: warning: implicit conversion changes signedness: 'ix_short' (aka 'short') to 'unsigned long long' [-Wsign-conversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:616:16: warning: implicit conversion turns floating-point number into integer: 'const float' to 'ix_short' (aka 'short') [-Wconversion]
ix_short xx = *ip;
˜˜ ^˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:626:16: warning: implicit conversion turns floating-point number into integer: 'const double' to 'ix_short' (aka 'short') [-Wconversion]
ix_short xx = *ip;
˜˜ ^˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:675:16: warning: implicit conversion changes signedness: 'ix_int' (aka 'int') to 'uchar' (aka 'unsigned char') [-Wsign-conversion]
*cp++ = (*ip) >> 24;
˜ ˜˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:687:8: warning: implicit conversion loses integer precision: 'ix_int' (aka 'int') to 'schar' (aka 'signed char') [-Wconversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:698:8: warning: implicit conversion loses integer precision: 'ix_int' (aka 'int') to 'uchar' (aka 'unsigned char') [-Wconversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:713:8: warning: implicit conversion loses integer precision: 'ix_int' (aka 'int') to 'short' [-Wconversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:745:8: warning: implicit conversion changes signedness: 'ix_int' (aka 'int') to 'unsigned int' [-Wsign-conversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:765:8: warning: implicit conversion changes signedness: 'ix_int' (aka 'int') to 'unsigned long long' [-Wsign-conversion]
*ip = xx;
˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:1445:8: warning: implicit conversion changes signedness: 'long long' to 'unsigned long long' [-Wsign-conversion]
*ip = (longlong) xx;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2065:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
*ulp |= (*cp++ << 16);
˜˜ ˜˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2066:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
*ulp |= (*cp++ << 8);
˜˜ ˜˜˜˜˜˜^˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2107:21: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
*cp++ = (uchar)(((*lp) & 0x00ff000000000000ULL) >> 48);
^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2108:21: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
*cp++ = (uchar)(((*lp) & 0x0000ff0000000000ULL) >> 40);
^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2109:21: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
*cp++ = (uchar)(((*lp) & 0x000000ff00000000ULL) >> 32);
^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2110:21: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
*cp++ = (uchar)(((*lp) & 0x00000000ff000000ULL) >> 24);
^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2111:21: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
*cp++ = (uchar)(((*lp) & 0x0000000000ff0000ULL) >> 16);
^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2112:21: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
*cp++ = (uchar)(((*lp) & 0x000000000000ff00ULL) >> 8);
^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2113:21: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
*cp = (uchar)( (*lp) & 0x00000000000000ffULL);
^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2265:11: warning: implicit conversion changes signedness: 'schar' (aka 'signed char') to 'uint' (aka 'unsigned int') [-Wsign-conversion]
*tp++ = *xp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2293:11: warning: implicit conversion changes signedness: 'schar' (aka 'signed char') to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion]
*tp++ = *xp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2412:11: warning: implicit conversion changes signedness: 'schar' (aka 'signed char') to 'uint' (aka 'unsigned int') [-Wsign-conversion]
*tp++ = *xp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/ncx.c:2448:11: warning: implicit conversion changes signedness: 'schar' (aka 'signed char') to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion]
*tp++ = *xp++;
˜ ^˜˜˜˜
31 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/posixio.c -o trimmed_netcdf-4.2.1.1/libsrc/posixio.o
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:167:23: warning: implicit conversion changes signedness: 'unsigned long long' to 'off_t' (aka 'long long') [-Wsign-conversion]
if (lseek(fd, len-sizeof(dumb), SEEK_SET) < 0)
˜˜˜˜˜ ˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:167:20: warning: implicit conversion changes signedness: 'const off_t' (aka 'const long long') to 'unsigned long long' [-Wsign-conversion]
if (lseek(fd, len-sizeof(dumb), SEEK_SET) < 0)
^˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:255:17: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
nextent -= partial;
˜˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:308:12: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
*nreadp = nread;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:447:15: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion]
off_t diff = (size_t)(offset - blkoffset);
˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:448:20: warning: implicit conversion changes signedness: 'unsigned long long' to 'off_t' (aka 'long long') [-Wsign-conversion]
off_t blkextent = _RNDUP(diff + extent, pxp->blksz);
˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/include/rnd.h:10:2: note: expanded from macro '_RNDUP'
* (unit))
^˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:448:27: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
off_t blkextent = _RNDUP(diff + extent, pxp->blksz);
^˜˜˜ ˜
trimmed_netcdf-4.2.1.1/include/rnd.h:9:30: note: expanded from macro '_RNDUP'
#define _RNDUP(x, unit) ((((x) + (unit) - 1) / (unit)) \
^
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:639:4: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
blkextent,
^˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:646:20: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
pxp->bf_extent = blkextent;
˜ ^˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:649:12: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
extent += diff;
˜˜ ^˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:827:20: warning: implicit conversion changes signedness: 'unsigned long long' to 'off_t' (aka 'long long') [-Wsign-conversion]
off_t frm = from + nbytes;
˜˜˜ ˜˜˜˜˜^˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:827:15: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
off_t frm = from + nbytes;
^˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:828:18: warning: implicit conversion changes signedness: 'unsigned long long' to 'off_t' (aka 'long long') [-Wsign-conversion]
off_t toh = to + nbytes;
˜˜˜ ˜˜˜^˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/posixio.c:828:15: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
off_t toh = to + nbytes;
^˜ ˜
14 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/putget.c -o trimmed_netcdf-4.2.1.1/libsrc/putget.o
trimmed_netcdf-4.2.1.1/libsrc/putget.c:331:13: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
offset += (off_t)ncp->recsize * recno;
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/putget.c:736:14: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
lcoord += (off_t)(*coord) * ncp->recsize;
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/putget.c:5148:6: warning: expression result unused; should this cast be to 'void'? [-Wunused-value]
(void*)memcpy((void*)modedges,(void*)varp->shape,
^ ˜
trimmed_netcdf-4.2.1.1/libsrc/putget.c:5165:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memtypelen = nctypelen(memtype);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/putget.c:5199:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
const size_t index = ii;
˜˜˜˜˜ ^˜
trimmed_netcdf-4.2.1.1/libsrc/putget.c:5272:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memtypelen = nctypelen(memtype);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/putget.c:5279:6: warning: expression result unused; should this cast be to 'void'? [-Wunused-value]
(void*)memcpy((void*)modedges,(void*)varp->shape,
^ ˜
trimmed_netcdf-4.2.1.1/libsrc/putget.c:5329:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
const size_t index = ii;
˜˜˜˜˜ ^˜
8 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/v1hpg.c -o trimmed_netcdf-4.2.1.1/libsrc/v1hpg.o
trimmed_netcdf-4.2.1.1/libsrc/v1hpg.c:1121:24: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
ncp->recsize += (*vpp)->dsizes[0];
˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc/v1hpg.c:1145:19: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
ncp->recsize = *first_rec->dsizes * first_rec->xsz;
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/v1hpg.c:1316:21: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
extent = filesize;
˜ ^˜˜˜˜˜˜˜
3 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc/var.c -o trimmed_netcdf-4.2.1.1/libsrc/var.o
trimmed_netcdf-4.2.1.1/libsrc/var.c:450:22: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
varp->len = product * varp->xsz;
^˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc/var.c:574:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
varp = new_NC_var(name, type, ndims, dimids);
˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/error4.c -o trimmed_netcdf-4.2.1.1/libsrc4/error4.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.o
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:83:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
*lenp = att->len;
˜ ˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:106:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(bufr = malloc((size_t)(att->len * type_size))))
˜˜˜˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:167:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(data, bufr, (size_t)(att->len * type_size));
˜˜˜˜˜^˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:167:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(data, bufr, (size_t)(att->len * type_size));
˜˜˜˜˜^˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:258:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
len * nc4typelen(file_type) > (size_t)att->len * nc4typelen(att->xtype))
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:258:53: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
len * nc4typelen(file_type) > (size_t)att->len * nc4typelen(att->xtype))
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:360:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!(var->fill_value = malloc(size)))
˜˜˜˜˜˜ ^˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:369:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(fv_vlen->p = malloc(size * in_vlen->len)))
^˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:371:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(fv_vlen->p, in_vlen->p, in_vlen->len * size);
˜ ^˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:371:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(fv_vlen->p, in_vlen->p, in_vlen->len * size);
˜ ^˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:396:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(att->vldata = malloc(att->len * sizeof(hvl_t))))
˜˜˜˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:409:56: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(att->stdata = malloc(sizeof(char *) * att->len)))
˜ ˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:426:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(att->data = malloc(att->len * type_size)))
˜˜˜˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:308:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
att->len = len;
˜ ^˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.c:357:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
size = type_size;
˜ ^˜˜˜˜˜˜˜˜
15 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4dim.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4dim.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4dispatch.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4dispatch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4file.o
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:111:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
nc4_chunk_cache_size = size;
˜ ^˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:112:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
nc4_chunk_cache_nelems = nelems;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:280:39: warning: implicit conversion changes signedness: 'int' to 'hbool_t' (aka 'unsigned int') [-Wsign-conversion]
if (H5Pset_fapl_core(fapl_id, 4096, persist))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:489:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(grp->dim->name = malloc((max_len + 1) * sizeof(char))))
˜˜˜˜˜˜˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:488:61: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
max_len = strlen(obj_name) > NC_MAX_NAME ? NC_MAX_NAME : strlen(obj_name);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:813:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(*type_info)->size = type_size[t];
˜ ^˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:781:16: warning: variable 't' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if (class == H5T_INTEGER || class == H5T_FLOAT)
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:811:33: note: uninitialized use occurs here
*xtype = nc_type_constant[t];
^
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:781:12: note: remove the 'if' if its condition is always true
else if (class == H5T_INTEGER || class == H5T_FLOAT)
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:724:9: note: initialize the variable 't' to silence this warning
int t;
^
= 0
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:902:18: warning: implicit conversion changes signedness: 'hssize_t' (aka 'long long') to 'hsize_t' (aka 'unsigned long long') [-Wsign-conversion]
dims[0] = att_npoints;
˜ ^˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:917:13: warning: implicit conversion changes signedness: 'hssize_t' (aka 'long long') to 'hsize_t' (aka 'unsigned long long') [-Wsign-conversion]
dims[0] = att_npoints;
˜ ^˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:943:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(att->vldata = malloc((unsigned int)(att->len * sizeof(hvl_t)))))
˜˜˜˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:950:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!(att->stdata = calloc(att->len, sizeof(char *))))
˜˜˜˜˜˜ ˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:969:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(contig_buf = malloc(att->len * fixed_size * sizeof(char))))
˜˜˜˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1000:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(att->data = malloc((unsigned int)(att->len * type_size))))
˜˜˜˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:932:15: warning: implicit conversion loses integer precision: 'hsize_t' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
att->len = dims[0];
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1249:61: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if (!(member_name = H5Tget_member_name(hdf_typeid, i)))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1253:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if (H5Tget_member_value(hdf_typeid, i, value) < 0)
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1193:30: warning: implicit conversion loses integer precision: 'hsize_t' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
dim_size[d] = dims[d];
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1317:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!(var->dim = calloc(var->ndims, sizeof(NC_DIM_INFO_T *))))
˜˜˜˜˜˜ ˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1319:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!(var->dimids = calloc(var->ndims, sizeof(int))))
˜˜˜˜˜˜ ˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1327:34: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
var->chunk_cache_preemption = rdcc_w0;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1362:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(var->chunksizes = malloc(var->ndims * sizeof(size_t))))
˜˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1376:44: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if ((filter = H5Pget_filter2(propid, f, NULL, &cd_nelems,
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1392:34: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
var->deflate_level = cd_values[0];
˜ ^˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1398:26: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
var->options_mask = cd_values[0];
˜ ^˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1399:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
var->pixels_per_block = cd_values[1];
˜ ^˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1482:53: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if (H5DSiterate_scales(var->hdf_datasetid, d, NULL, dimscale_visitor,
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1311:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
var->ndims = ndims;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1580:14: warning: implicit conversion changes signedness: 'int' to 'hsize_t' (aka 'unsigned long long') [-Wsign-conversion]
num_obj = H5Aget_num_attrs(grp->hdf_grpid);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1607:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(att->name = malloc((max_len + 1) * sizeof(char))))
˜˜˜˜˜˜˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1606:60: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
max_len = strlen(obj_name) > NC_MAX_NAME ? NC_MAX_NAME : strlen(obj_name);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:1690:56: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ((retval = read_var(grp, datasetid, obj_name, ndims,
˜˜˜˜˜˜˜˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:2880:8: warning: variable 'retval' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (!(h5->cmode & NC_NOWRITE))
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:2894:11: note: uninitialized use occurs here
return retval;
^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:2880:4: note: remove the 'if' if its condition is always true
if (!(h5->cmode & NC_NOWRITE))
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:2854:14: note: initialize the variable 'retval' to silence this warning
int retval;
^
= 0
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:2971:10: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
nobjs = H5Fget_obj_count(h5->hdfid, H5F_OBJ_ALL);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4file.c:3145:11: warning: unused variable 'found' [-Wunused-variable]
int found = 0;
^
34 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4grp.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4grp.o
trimmed_netcdf-4.2.1.1/libsrc4/nc4grp.c:185:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!(name = malloc((g + 1) * (NC_MAX_NAME + 1) + 1)))
˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4grp.c:187:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(gid = malloc((g + 1) * sizeof(int))))
˜˜^˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4grp.c:430:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(dimids, num, sizeof(int), int_cmp);
˜˜˜˜˜ ^˜˜
3 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.o
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:65:69: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if (H5DSattach_scale(var->hdf_datasetid, dimscaleid, d) < 0)
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:115:58: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if (H5DSdetach_scale(var->hdf_datasetid, dimscaleid, d) < 0)
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:717:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(xtend_size = malloc(var->ndims * sizeof(hsize_t))))
˜˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:948:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
count[d2] -= fill_value_size[d2];
˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1008:64: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if ((fstring_len = H5Tget_size(var->type_info->hdf_typeid)) < 0)
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1128:45: warning: operand of ? changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
fill_len *= (fill_value_size[d2] ? fill_value_size[d2] : 1);
˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:837:10: warning: unused variable 'hdf_datasetid' [-Wunused-variable]
hid_t hdf_datasetid;
^
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:943:44: warning: implicit conversion loses integer precision: 'hsize_t' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
fill_value_size[d2] = count[d2];
˜ ^˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:945:54: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
fill_value_size[d2] = count[d2] - (fdims[d2] - start[d2]);
˜ ˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:953:41: warning: implicit conversion loses integer precision: 'hsize_t' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
fill_value_size[d2] = count[d2];
˜ ^˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1219:25: warning: implicit conversion changes signedness: 'int' to 'hsize_t' (aka 'unsigned long long') [-Wsign-conversion]
coords_len[0] = var->ndims;
˜ ˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1362:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if (H5Pset_deflate(plistid, var->deflate_level) < 0)
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1397:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(dimsize = malloc(var->ndims * sizeof(hsize_t))))
˜˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1399:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(maxdimsize = malloc(var->ndims * sizeof(hsize_t))))
˜˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1401:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(chunksize = malloc(var->ndims * sizeof(hsize_t))))
˜˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1429:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'hsize_t' (aka 'unsigned long long') [-Wconversion]
chunksize[d] = pow((double)DEFAULT_CHUNK_SIZE/type_size,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1626:19: warning: implicit conversion changes signedness: 'int' to 'hsize_t' (aka 'unsigned long long') [-Wsign-conversion]
dims[0] = att->len;
˜ ˜˜˜˜˜^˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1748:26: warning: implicit conversion changes signedness: 'int' to 'hsize_t' (aka 'unsigned long long') [-Wsign-conversion]
dims[d] = field->dim_size[d];
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:1966:70: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if (H5DSattach_scale(var->hdf_datasetid, dim1->hdf_dimscaleid, d) < 0)
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2204:88: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
if (H5DSdetach_scale(var->hdf_datasetid, dim1->hdf_dimscaleid, d) < 0)
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2350:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(new_size = malloc(v1->ndims * sizeof(hsize_t))))
˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2639:13: warning: implicit conversion changes signedness: 'const ptrdiff_t' (aka 'const long') to 'unsigned long' [-Wsign-conversion]
if(map[i] % mem_type_size != 0)
^˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2641:30: warning: implicit conversion changes signedness: 'unsigned long' to 'ptrdiff_t' (aka 'long') [-Wsign-conversion]
new_map[i] = map[i] / mem_type_size;
˜ ˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2641:23: warning: implicit conversion changes signedness: 'const ptrdiff_t' (aka 'const long') to 'unsigned long' [-Wsign-conversion]
new_map[i] = map[i] / mem_type_size;
^˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2766:25: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
length[idim] = mymap[idim] * myedges[idim];
^˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2767:55: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
stop[idim] = mystart[idim] + myedges[idim] * mystride[idim];
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2838:33: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
data = (char *)data + (mymap[idim] * mem_type_size);
^˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2840:27: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
mystart[idim] += mystride[idim];
˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2929:28: warning: implicit conversion changes signedness: 'signed char' to 'unsigned char' [-Wsign-conversion]
*ubp++ = *bp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2941:28: warning: implicit conversion changes signedness: 'signed char' to 'unsigned short' [-Wsign-conversion]
*usp++ = *bp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2962:28: warning: implicit conversion changes signedness: 'signed char' to 'unsigned int' [-Wsign-conversion]
*uip++ = *bp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2974:29: warning: implicit conversion changes signedness: 'signed char' to 'unsigned long long' [-Wsign-conversion]
*ulip++ = *bp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:2999:27: warning: implicit conversion changes signedness: 'unsigned char' to 'signed char' [-Wsign-conversion]
*bp++ = *ubp++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3061:28: warning: implicit conversion loses integer precision: 'short' to 'unsigned char' [-Wconversion]
*ubp++ = *sp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3069:27: warning: implicit conversion loses integer precision: 'short' to 'signed char' [-Wconversion]
*bp++ = *sp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3081:28: warning: implicit conversion changes signedness: 'short' to 'unsigned short' [-Wsign-conversion]
*usp++ = *sp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3097:28: warning: implicit conversion changes signedness: 'short' to 'unsigned int' [-Wsign-conversion]
*uip++ = *sp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3109:29: warning: implicit conversion changes signedness: 'short' to 'unsigned long long' [-Wsign-conversion]
*ulip++ = *sp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3134:28: warning: implicit conversion loses integer precision: 'unsigned short' to 'unsigned char' [-Wconversion]
*ubp++ = *usp++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3142:27: warning: implicit conversion loses integer precision: 'unsigned short' to 'signed char' [-Wconversion]
*bp++ = *usp++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3150:27: warning: implicit conversion changes signedness: 'unsigned short' to 'short' [-Wsign-conversion]
*sp++ = *usp++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3201:31: warning: implicit conversion loses integer precision: 'long' to 'unsigned char' [-Wconversion]
*ubp++ = *lp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3209:30: warning: implicit conversion loses integer precision: 'long' to 'signed char' [-Wconversion]
*bp++ = *lp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3217:30: warning: implicit conversion loses integer precision: 'long' to 'short' [-Wconversion]
*sp++ = *lp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3225:31: warning: implicit conversion loses integer precision: 'long' to 'unsigned short' [-Wconversion]
*usp++ = *lp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3265:32: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion]
*ulip++ = *lp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3291:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion]
*ubp++ = *ip++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3299:30: warning: implicit conversion loses integer precision: 'int' to 'signed char' [-Wconversion]
*bp++ = *ip++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3307:30: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion]
*sp++ = *ip++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3315:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wconversion]
*usp++ = *ip++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3343:31: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
*uip++ = *ip++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3355:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
*ulip++ = *ip++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3381:28: warning: implicit conversion loses integer precision: 'unsigned int' to 'unsigned char' [-Wconversion]
*ubp++ = *uip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3389:27: warning: implicit conversion loses integer precision: 'unsigned int' to 'signed char' [-Wconversion]
*bp++ = *uip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3397:27: warning: implicit conversion loses integer precision: 'unsigned int' to 'short' [-Wconversion]
*sp++ = *uip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3405:28: warning: implicit conversion loses integer precision: 'unsigned int' to 'unsigned short' [-Wconversion]
*usp++ = *uip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3421:30: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
*ip++ = *uip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3462:28: warning: implicit conversion loses integer precision: 'long long' to 'unsigned char' [-Wconversion]
*ubp++ = *lip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3470:27: warning: implicit conversion loses integer precision: 'long long' to 'signed char' [-Wconversion]
*bp++ = *lip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3478:27: warning: implicit conversion loses integer precision: 'long long' to 'short' [-Wconversion]
*sp++ = *lip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3486:28: warning: implicit conversion loses integer precision: 'long long' to 'unsigned short' [-Wconversion]
*usp++ = *lip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3522:29: warning: implicit conversion changes signedness: 'long long' to 'unsigned long long' [-Wsign-conversion]
*ulip++ = *lip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3547:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned char' [-Wconversion]
*ubp++ = *ulip++;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3555:27: warning: implicit conversion loses integer precision: 'unsigned long long' to 'signed char' [-Wconversion]
*bp++ = *ulip++;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3563:27: warning: implicit conversion loses integer precision: 'unsigned long long' to 'short' [-Wconversion]
*sp++ = *ulip++;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3571:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned short' [-Wconversion]
*usp++ = *ulip++;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3588:30: warning: implicit conversion changes signedness: 'unsigned long long' to 'long' [-Wsign-conversion]
*lp++ = *ulip++;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3603:28: warning: implicit conversion changes signedness: 'unsigned long long' to 'long long' [-Wsign-conversion]
*lip++ = *ulip++;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3632:28: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned char' [-Wconversion]
*ubp++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3640:27: warning: implicit conversion turns floating-point number into integer: 'float' to 'signed char' [-Wconversion]
*bp++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3648:27: warning: implicit conversion turns floating-point number into integer: 'float' to 'short' [-Wconversion]
*sp++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3656:28: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned short' [-Wconversion]
*usp++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3664:28: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wconversion]
*uip++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3673:30: warning: implicit conversion turns floating-point number into integer: 'float' to 'long' [-Wconversion]
*lp++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3680:30: warning: implicit conversion turns floating-point number into integer: 'float' to 'int' [-Wconversion]
*ip++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3688:28: warning: implicit conversion turns floating-point number into integer: 'float' to 'long long' [-Wconversion]
*lip++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3696:28: warning: implicit conversion turns floating-point number into integer: 'float' to 'long long' [-Wconversion]
*lip++ = *fp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3725:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned char' [-Wconversion]
*ubp++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3733:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'signed char' [-Wconversion]
*bp++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3741:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'short' [-Wconversion]
*sp++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3749:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned short' [-Wconversion]
*usp++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3757:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion]
*uip++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3766:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'long' [-Wconversion]
*lp++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3773:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
*ip++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3781:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'long long' [-Wconversion]
*lip++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3789:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'long long' [-Wconversion]
*lip++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3797:27: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
*fp++ = *dp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3244:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
*ip++ = *lp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3253:31: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32]
*uip++ = *lp++;
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3494:28: warning: implicit conversion loses integer precision: 'long long' to 'unsigned int' [-Wshorten-64-to-32]
*uip++ = *lip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3510:30: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*ip++ = *lip++;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3579:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*uip++ = *ulip++;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3595:30: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
*ip++ = *ulip++;
˜ ^˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3900:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(h5dimlen = malloc(var->ndims * sizeof(hsize_t))))
˜˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.c:3902:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(h5dimlenmax = malloc(var->ndims * sizeof(hsize_t))))
˜˜˜˜˜^˜˜˜˜ ˜
95 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4internal.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4internal.o
trimmed_netcdf-4.2.1.1/libsrc4/nc4internal.c:127:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(h5dimlen = malloc(dataset_ndims * sizeof(hsize_t))))
^˜˜˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4internal.c:129:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(h5dimlenmax = malloc(dataset_ndims * sizeof(hsize_t))))
^˜˜˜˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4internal.c:876:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(field->dim_size = malloc(ndims * sizeof(int))))
^˜˜˜˜ ˜
3 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4type.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4type.o
trimmed_netcdf-4.2.1.1/libsrc4/nc4type.c:280:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
*size = atomic_size[typeid];
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4type.c:397:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
*nfieldsp = type->num_enum_members;
˜ ˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4type.c:738:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(data, tmp->p, tmp->len * type_size);
˜ ^˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
trimmed_netcdf-4.2.1.1/libsrc4/nc4type.c:738:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(data, tmp->p, tmp->len * type_size);
˜ ^˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c -o trimmed_netcdf-4.2.1.1/libsrc4/nc4var.o
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:132:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
real_size = size * MEGABYTE;
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:135:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
real_nelems = nelems;
˜ ^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:138:36: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
real_preemption = preemption / 100.;
˜ ˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:198:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
*sizep = real_size / MEGABYTE;
˜ ˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:305:64: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion]
1/(double)(var->ndims - num_set)) * var->dim[d]->len - .5);
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:344:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
overhang = (num_chunks * var->chunksizes[d]) - var->dim[d]->len;
^˜˜˜˜˜˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:345:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
var->chunksizes[d] -= overhang / num_chunks;
˜ ^˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:342:65: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
num_chunks = (var->dim[d]->len + var->chunksizes[d] - 1) / var->chunksizes[d];
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:482:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!(var->dim = calloc(ndims, sizeof(NC_DIM_INFO_T *))))
˜˜˜˜˜˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:484:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!(var->dimids = calloc(ndims, sizeof(int))))
˜˜˜˜˜˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:512:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!(var->chunksizes = calloc(var->ndims, sizeof(size_t))))
˜˜˜˜˜˜ ˜˜˜˜˜^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:548:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (ndims && !(var->dimscale_attached = calloc(ndims, sizeof(int))))
˜˜˜˜˜˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:1000:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(cs = malloc(var->ndims * sizeof(size_t))))
˜˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:1011:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
chunksizesp[i] = cs[i];
˜ ^˜˜˜˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:1050:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if (!(cs = malloc(var->ndims * sizeof(size_t))))
˜˜˜˜˜^˜˜˜˜ ˜
trimmed_netcdf-4.2.1.1/libsrc4/nc4var.c:1055:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
cs[i] = chunksizesp[i];
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
16 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/include -Itrimmed_netcdf-4.2.1.1/ -Itrimmed_netcdf-4.2.1.1/include -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c trimmed_netcdf-4.2.1.1/libsrc4/ncfunc.c -o trimmed_netcdf-4.2.1.1/libsrc4/ncfunc.o
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -L/usr/local/lib -o ncdfFlow.so bitOps.o init.o netCDF.o trimmed_netcdf-4.2.1.1/liblib/stub.o trimmed_netcdf-4.2.1.1/libdispatch/datt.o trimmed_netcdf-4.2.1.1/libdispatch/dattget.o trimmed_netcdf-4.2.1.1/libdispatch/dattinq.o trimmed_netcdf-4.2.1.1/libdispatch/dattput.o trimmed_netcdf-4.2.1.1/libdispatch/dcompound.o trimmed_netcdf-4.2.1.1/libdispatch/dcopy.o trimmed_netcdf-4.2.1.1/libdispatch/ddim.o trimmed_netcdf-4.2.1.1/libdispatch/ddispatch.o trimmed_netcdf-4.2.1.1/libdispatch/denum.o trimmed_netcdf-4.2.1.1/libdispatch/derror.o trimmed_netcdf-4.2.1.1/libdispatch/dfile.o trimmed_netcdf-4.2.1.1/libdispatch/dgroup.o trimmed_netcdf-4.2.1.1/libdispatch/dnclog.o trimmed_netcdf-4.2.1.1/libdispatch/dopaque.o trimmed_netcdf-4.2.1.1/libdispatch/dparallel.o trimmed_netcdf-4.2.1.1/libdispatch/dstring.o trimmed_netcdf-4.2.1.1/libdispatch/dsubstrate.o trimmed_netcdf-4.2.1.1/libdispatch/dtype.o trimmed_netcdf-4.2.1.1/libdispatch/dutf8proc.o trimmed_netcdf-4.2.1.1/libdispatch/dv2i.o trimmed_netcdf-4.2.1.1/libdispatch/dvar.o trimmed_netcdf-4.2.1.1/libdispatch/dvarget.o trimmed_netcdf-4.2.1.1/libdispatch/dvarinq.o trimmed_netcdf-4.2.1.1/libdispatch/dvarput.o trimmed_netcdf-4.2.1.1/libdispatch/dvlen.o trimmed_netcdf-4.2.1.1/libdispatch/nc_uri.o trimmed_netcdf-4.2.1.1/libdispatch/ncaux.o trimmed_netcdf-4.2.1.1/libdispatch/ncbytes.o trimmed_netcdf-4.2.1.1/libdispatch/nchashmap.o trimmed_netcdf-4.2.1.1/libdispatch/nclist.o trimmed_netcdf-4.2.1.1/libdispatch/nctime.o trimmed_netcdf-4.2.1.1/libsrc/attr.o trimmed_netcdf-4.2.1.1/libsrc/dim.o trimmed_netcdf-4.2.1.1/libsrc/lookup3.o trimmed_netcdf-4.2.1.1/libsrc/memio.o trimmed_netcdf-4.2.1.1/libsrc/nc.o trimmed_netcdf-4.2.1.1/libsrc/nc3dispatch.o trimmed_netcdf-4.2.1.1/libsrc/ncio.o trimmed_netcdf-4.2.1.1/libsrc/nclistmgr.o trimmed_netcdf-4.2.1.1/libsrc/ncx.o trimmed_netcdf-4.2.1.1/libsrc/posixio.o trimmed_netcdf-4.2.1.1/libsrc/putget.o trimmed_netcdf-4.2.1.1/libsrc/v1hpg.o trimmed_netcdf-4.2.1.1/libsrc/var.o trimmed_netcdf-4.2.1.1/libsrc4/error4.o trimmed_netcdf-4.2.1.1/libsrc4/nc4attr.o trimmed_netcdf-4.2.1.1/libsrc4/nc4dim.o trimmed_netcdf-4.2.1.1/libsrc4/nc4dispatch.o trimmed_netcdf-4.2.1.1/libsrc4/nc4file.o trimmed_netcdf-4.2.1.1/libsrc4/nc4grp.o trimmed_netcdf-4.2.1.1/libsrc4/nc4hdf.o trimmed_netcdf-4.2.1.1/libsrc4/nc4internal.o trimmed_netcdf-4.2.1.1/libsrc4/nc4type.o trimmed_netcdf-4.2.1.1/libsrc4/nc4var.o trimmed_netcdf-4.2.1.1/libsrc4/ncfunc.o -L/usr/lib -lhdf5 -lhdf5_hl -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
cp ncdfFlow.so libncdfFlow.dylib
cp libncdfFlow.dylib ../inst/lib
rm libncdfFlow.dylib
/Library/Frameworks/R.framework/Resources/share/make/shlib.mk:6: warning: overriding commands for target `ncdfFlow.so'
Makevars:24: warning: ignoring old commands for target `ncdfFlow.so'
installing to /Users/biocbuild/bbs-2.12-bioc/meat/ncdfFlow.Rcheck/ncdfFlow/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (ncdfFlow)