* installing *source* package ‘terra’ ... ** package ‘terra’ successfully unpacked and MD5 sums checked ** using staged installation configure: CC: /usr/local/clang17/bin/clang configure: CXX: /usr/local/clang17/bin/clang++ -std=gnu++17 checking for gdal-config... /usr/local/clang/bin/gdal-config checking gdal-config usability... yes configure: GDAL: 3.4.3 checking GDAL version >= 2.0.1... yes checking for gcc... /usr/local/clang17/bin/clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /usr/local/clang17/bin/clang accepts -g... yes checking for /usr/local/clang17/bin/clang option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for gdal.h... yes checking GDAL: linking with --libs only... yes checking GDAL: /usr/local/clang/share/gdal/pcs.csv readable... no checking GDAL: checking whether PROJ is available for linking:... yes checking GDAL: checking whether PROJ is available for running:... yes configure: GDAL: 3.4.3 configure: pkg-config proj exists, will use it configure: using proj.h. configure: PROJ: 8.2.1 checking PROJ: checking whether PROJ and sqlite3 are available for linking:... yes checking for geos-config... /usr/bin/geos-config checking geos-config usability... yes configure: GEOS: 3.10.2 checking GEOS version >= 3.4.0... yes checking for geos_c.h... yes checking geos: linking with -L/usr/lib64 -lgeos_c... yes configure: Package CPP flags: -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include configure: Package LIBS: -L/usr/local/lib64 -lproj -L/usr/local/clang/lib64 -lgdal -L/usr/lib64 -lgeos_c configure: creating ./config.status config.status: creating src/Makevars ** libs using C compiler: ‘clang version 17.0.5’ using C++ compiler: ‘clang version 17.0.5’ using C++17 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/terra/src' /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppFunctions.cpp -o RcppFunctions.o In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from RcppFunctions.cpp:1: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from RcppFunctions.cpp:1: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", RcppFunctions.cpp:298:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 298 | Rf_warningcall(R_NilValue, tfm::format(fmt, std::forward<Args>(args)... ).c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppFunctions.cpp:312:13: note: in instantiation of function template specialization 'warningNoCall<const char *&, int &>' requested here 312 | warningNoCall("%s (GDAL %d)", msg, err_no); | ^ RcppFunctions.cpp:298:32: note: treat the string as an argument to avoid this 298 | Rf_warningcall(R_NilValue, tfm::format(fmt, std::forward<Args>(args)... ).c_str()); | ^ | "%s", RcppFunctions.cpp:298:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 298 | Rf_warningcall(R_NilValue, tfm::format(fmt, std::forward<Args>(args)... ).c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppFunctions.cpp:321:13: note: in instantiation of function template specialization 'warningNoCall<const char *&, CPLErr &, int &>' requested here 321 | warningNoCall("%s (GDAL error class %d, #%d)", msg, eErrClass, err_no); | ^ RcppFunctions.cpp:298:32: note: treat the string as an argument to avoid this 298 | Rf_warningcall(R_NilValue, tfm::format(fmt, std::forward<Args>(args)... ).c_str()); | ^ | "%s", In file included from RcppFunctions.cpp:2: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 3 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppModule.cpp -o RcppModule.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c arith.cpp -o arith.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c crs.cpp -o crs.o 11 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c distRaster.cpp -o distRaster.o In file included from RcppModule.cpp:1: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from RcppModule.cpp:1: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from distRaster.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from arith.cpp:19: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from distRaster.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from arith.cpp:19: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from crs.cpp:20: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from crs.cpp:20: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c distance.cpp -o distance.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c extract.cpp -o extract.o In file included from crs.cpp:20: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from distRaster.cpp:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from arith.cpp:19: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from extract.cpp:20: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from extract.cpp:20: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 9 warnings generated. In file included from RcppModule.cpp:3: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from extract.cpp:20: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c file_utils.cpp -o file_utils.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c focal.cpp -o focal.o 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c gcp.cpp -o gcp.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c gdal_algs.cpp -o gdal_algs.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c gdal_multidimensional.cpp -o gdal_multidimensional.o In file included from focal.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c gdalio.cpp -o gdalio.o In file included from focal.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 9 warnings generated. /usr/local/clang17/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c geodesic.c -o geodesic.o In file included from gdal_multidimensional.cpp:2: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from gdal_algs.cpp:25: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from gdal_algs.cpp:25: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from gdal_multidimensional.cpp:2: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from gdalio.cpp:5: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from gdalio.cpp:5: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from focal.cpp:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c geos_methods.cpp -o geos_methods.o In file included from gdalio.cpp:5: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from gdal_multidimensional.cpp:2: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. In file included from gdal_algs.cpp:25: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from geos_methods.cpp:20: In file included from ./geos_spat.h:76: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from geos_methods.cpp:20: In file included from ./geos_spat.h:76: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 9 warnings generated. 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c geosphere.cpp -o geosphere.o In file included from geos_methods.cpp:20: ./geos_spat.h:80:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 80 | Rf_warningcall(R_NilValue, tfm::format(fmt, std::forward<Args>(args)... ).c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geos_spat.h:113:5: note: in instantiation of function template specialization 'warnNoCall<>' requested here 113 | warnNoCall(buf); | ^ ./geos_spat.h:80:32: note: treat the string as an argument to avoid this 80 | Rf_warningcall(R_NilValue, tfm::format(fmt, std::forward<Args>(args)... ).c_str()); | ^ | "%s", In file included from geos_methods.cpp:20: In file included from ./geos_spat.h:48: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from geosphere.cpp:43: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from geosphere.cpp:43: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from geosphere.cpp:18: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c math_utils.cpp -o math_utils.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c mediancut.cpp -o mediancut.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c memory.cpp -o memory.o 10 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c movingWindow.cpp -o movingWindow.o In file included from memory.cpp:19: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from memory.cpp:19: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c ncdf.cpp -o ncdf.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c ram.cpp -o ram.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c raster_methods.cpp -o raster_methods.o In file included from movingWindow.cpp:19: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from movingWindow.cpp:19: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c raster_stats.cpp -o raster_stats.o In file included from raster_methods.cpp:18: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from raster_methods.cpp:18: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from raster_stats.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from raster_stats.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from memory.cpp:19: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rasterize.cpp -o rasterize.o In file included from movingWindow.cpp:19: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from rasterize.cpp:4: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ 9 warnings generated. In file included from rasterize.cpp:4: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from raster_methods.cpp:18: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from raster_stats.cpp:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from rasterize.cpp:4: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c read.cpp -o read.o In file included from read.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from read.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c read_gdal.cpp -o read_gdal.o In file included from read_gdal.cpp:26: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from read_gdal.cpp:26: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from read.cpp:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. In file included from read_gdal.cpp:26: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c read_ogr.cpp -o read_ogr.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c sample.cpp -o sample.o In file included from read_ogr.cpp:19: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from sample.cpp:19: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from sample.cpp:19: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 6 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c sort.cpp -o sort.o In file included from sample.cpp:19: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatBase.cpp -o spatBase.o 9 warnings generated. In file included from spatBase.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from spatBase.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from spatBase.cpp:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatDataframe.cpp -o spatDataframe.o In file included from spatDataframe.cpp:18: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatFactor.cpp -o spatFactor.o 6 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatRaster.cpp -o spatRaster.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatRasterMultiple.cpp -o spatRasterMultiple.o In file included from spatRasterMultiple.cpp:18: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from spatRasterMultiple.cpp:18: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from spatRaster.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from spatRaster.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from spatRasterMultiple.cpp:18: In file included from ./spatRasterMultiple.h:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatSources.cpp -o spatSources.o In file included from spatSources.cpp:19: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from spatSources.cpp:19: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from spatRaster.cpp:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from spatSources.cpp:19: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatTime.cpp -o spatTime.o 9 warnings generated. 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatVector.cpp -o spatVector.o In file included from spatVector.cpp:18: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c spatVector2.cpp -o spatVector2.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c string_utils.cpp -o string_utils.o In file included from spatVector2.cpp:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 6 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c vecmath.cpp -o vecmath.o 6 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c vecmathse.cpp -o vecmathse.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c vector_methods.cpp -o vector_methods.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c write.cpp -o write.o /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c write_gdal.cpp -o write_gdal.o In file included from vector_methods.cpp:18: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from write.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from write.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from write_gdal.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from write_gdal.cpp:18: In file included from ./spatRaster.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 6 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I/usr/local/include -DHAVE_PROJ_H -I/usr/local/clang/include -I/usr/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c write_ogr.cpp -o write_ogr.o In file included from write.cpp:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from write_ogr.cpp:18: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ In file included from write_gdal.cpp:18: In file included from ./spatRaster.h:20: In file included from ./spatVector.h:21: In file included from ./spatDataframe.h:26: ./spatTime.h:39:7: warning: private field 'year' is not used [-Wunused-private-field] 39 | long year; | ^ ./spatTime.h:40:12: warning: private field 'month' is not used [-Wunused-private-field] 40 | short int month; | ^ ./spatTime.h:41:12: warning: private field 'day' is not used [-Wunused-private-field] 41 | short int day; | ^ ./spatTime.h:42:12: warning: private field 'hour' is not used [-Wunused-private-field] 42 | short int hour; | ^ ./spatTime.h:43:12: warning: private field 'minute' is not used [-Wunused-private-field] 43 | short int minute; | ^ ./spatTime.h:44:12: warning: private field 'second' is not used [-Wunused-private-field] 44 | short int second; | ^ 6 warnings generated. 9 warnings generated. 9 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang17/lib -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o terra.so RcppExports.o RcppFunctions.o RcppModule.o arith.o crs.o distRaster.o distance.o extract.o file_utils.o focal.o gcp.o gdal_algs.o gdal_multidimensional.o gdalio.o geodesic.o geos_methods.o geosphere.o math_utils.o mediancut.o memory.o movingWindow.o ncdf.o ram.o raster_methods.o raster_stats.o rasterize.o read.o read_gdal.o read_ogr.o sample.o sort.o spatBase.o spatDataframe.o spatFactor.o spatRaster.o spatRasterMultiple.o spatSources.o spatTime.o spatVector.o spatVector2.o string_utils.o vecmath.o vecmathse.o vector_methods.o write.o write_gdal.o write_ogr.o -L/usr/local/lib64 -lproj -L/usr/local/clang/lib64 -lgdal -L/usr/lib64 -lgeos_c make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/terra/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/terra/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/terra/src' installing to /data/gannet/ripley/R/packages/tests-clang/terra.Rcheck/00LOCK-terra/00new/terra/libs ** R ** inst ** byte-compile and prepare package for lazy loading in method for ‘sds’ with signature ‘x="stars"’: no definition for class “stars” in method for ‘sds’ with signature ‘x="stars_proxy"’: no definition for class “stars_proxy” in method for ‘svc’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"stars","SpatRasterDataset"’: no definition for class “stars” in method for ‘coerce’ with signature ‘"ggmap","SpatRaster"’: no definition for class “ggmap” in method for ‘coerce’ with signature ‘"sf","SpatRaster"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"sf","SpatVector"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"sfc","SpatVector"’: no definition for class “sfc” in method for ‘coerce’ with signature ‘"sfg","SpatVector"’: no definition for class “sfg” in method for ‘coerce’ with signature ‘"XY","SpatVector"’: no definition for class “XY” in method for ‘coerce’ with signature ‘"im","SpatRaster"’: no definition for class “im” in method for ‘coerce’ with signature ‘"SpatVector","Spatial"’: no definition for class “Spatial” in method for ‘coerce’ with signature ‘"Spatial","SpatVector"’: no definition for class “Spatial” in method for ‘coerce’ with signature ‘"SpatialGrid","SpatRaster"’: no definition for class “SpatialGrid” in method for ‘coerce’ with signature ‘"SpatialPixels","SpatRaster"’: no definition for class “SpatialPixels” in method for ‘crs’ with signature ‘"sf"’: no definition for class “sf” Creating a generic function for ‘ncol’ from package ‘base’ in package ‘terra’ in method for ‘distance’ with signature ‘x="SpatRaster",y="sf"’: no definition for class “sf” in method for ‘ext’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘ext’ with signature ‘x="bbox"’: no definition for class “bbox” in method for ‘ext’ with signature ‘x="Extent"’: no definition for class “Extent” in method for ‘ext’ with signature ‘x="Raster"’: no definition for class “Raster” in method for ‘ext’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘extract’ with signature ‘x="SpatRaster",y="sf"’: no definition for class “sf” in method for ‘mask’ with signature ‘x="SpatRaster",mask="sf"’: no definition for class “sf” in method for ‘points’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘lines’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘polys’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘lines’ with signature ‘x="leaflet"’: no definition for class “leaflet” in method for ‘points’ with signature ‘x="leaflet"’: no definition for class “leaflet” in method for ‘rast’ with signature ‘x="stars"’: no definition for class “stars” in method for ‘rast’ with signature ‘x="stars_proxy"’: no definition for class “stars_proxy” in method for ‘rasterize’ with signature ‘x="sf",y="SpatRaster"’: no definition for class “sf” in method for ‘show’ with signature ‘"Rcpp_SpatDataFrame"’: no definition for class “Rcpp_SpatDataFrame” in method for ‘show’ with signature ‘"Rcpp_SpatCategories"’: no definition for class “Rcpp_SpatCategories” in method for ‘geomtype’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘vect’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘vect’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘vect’ with signature ‘x="sfc"’: no definition for class “sfc” in method for ‘vect’ with signature ‘x="XY"’: no definition for class “XY” Creating a generic function for ‘unserialize’ from package ‘base’ in package ‘terra’ Creating a generic function for ‘readRDS’ from package ‘base’ in package ‘terra’ ** help *** installing help indices *** copying figures ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (terra)