* installing *source* package 'RadEro' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cJSON.c -o cJSON.o In file included from cJSON.c:33: cJSON.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 83 | extern const char *cJSON_GetErrorPtr(); | ^~~~~~ cJSON.h:86:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 86 | extern cJSON *cJSON_CreateNull(); | ^~~~~~ cJSON.h:87:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 87 | extern cJSON *cJSON_CreateTrue(); | ^~~~~~ cJSON.h:88:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 88 | extern cJSON *cJSON_CreateFalse(); | ^~~~~~ cJSON.h:92:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 92 | extern cJSON *cJSON_CreateArray(); | ^~~~~~ cJSON.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 93 | extern cJSON *cJSON_CreateObject(); | ^~~~~~ cJSON.c:37:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | const char *cJSON_GetErrorPtr() {return ep;} | ^~~~~~~~~~~~~~~~~ cJSON.c:73:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] 73 | static cJSON *cJSON_New_Item() | ^~~~~~~~~~~~~~ cJSON.c: In function 'print_object': cJSON.c:463:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 463 | if (fmt) *ptr++='\n';*ptr=0; | ^~ cJSON.c:463:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 463 | if (fmt) *ptr++='\n';*ptr=0; | ^ cJSON.c: In function 'cJSON_DetachItemFromArray': cJSON.c:490:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 490 | if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} | ^~ cJSON.c:490:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 490 | if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} | ^~ cJSON.c: At top level: cJSON.c:502:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 502 | cJSON *cJSON_CreateNull() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_NULL;return item;} | ^~~~~~~~~~~~~~~~ cJSON.c:503:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 503 | cJSON *cJSON_CreateTrue() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_True;return item;} | ^~~~~~~~~~~~~~~~ cJSON.c:504:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 504 | cJSON *cJSON_CreateFalse() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_False;return item;} | ^~~~~~~~~~~~~~~~~ cJSON.c:508:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 508 | cJSON *cJSON_CreateArray() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_Array;return item;} | ^~~~~~~~~~~~~~~~~ cJSON.c:509:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 509 | cJSON *cJSON_CreateObject() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_Object;return item;} | ^~~~~~~~~~~~~~~~~~ cJSON.c: In function 'cJSON_ParseFile': cJSON.c:521:12: warning: variable 'bytesRead' set but not used [-Wunused-but-set-variable] 521 | size_t bytesRead; | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c model.c -o model.o In file included from model.c:31: cJSON.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 83 | extern const char *cJSON_GetErrorPtr(); | ^~~~~~ cJSON.h:86:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 86 | extern cJSON *cJSON_CreateNull(); | ^~~~~~ cJSON.h:87:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 87 | extern cJSON *cJSON_CreateTrue(); | ^~~~~~ cJSON.h:88:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 88 | extern cJSON *cJSON_CreateFalse(); | ^~~~~~ cJSON.h:92:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 92 | extern cJSON *cJSON_CreateArray(); | ^~~~~~ cJSON.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 93 | extern cJSON *cJSON_CreateObject(); | ^~~~~~ In file included from model.c:32: defs.h:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 34 | int cs_model(); | ^~~ In file included from model.c:33: data_io.h: In function 'read_config': data_io.h:36:14: warning: unused variable 'trash' [-Wunused-variable] 36 | char trash[1024]; | ^~~~~ data_io.h: In function 'write_activity': data_io.h:184:23: warning: unused variable 'x3' [-Wunused-variable] 184 | float x1, x2, x3, dx; | ^~ data_io.h:184:19: warning: unused variable 'x2' [-Wunused-variable] 184 | float x1, x2, x3, dx; | ^~ data_io.h: In function 'read_activity': data_io.h:235:16: warning: variable 'j' set but not used [-Wunused-but-set-variable] 235 | int i, j, cells; | ^ model.c: At top level: model.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] 38 | int cs_model() | ^~~~~~~~ In file included from model.c:34: simulation.h: In function 'isotope_input_t': simulation.h:81:15: warning: 'x1' may be used uninitialized [-Wmaybe-uninitialized] 81 | float x1, t, dt; | ^~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rcpp_hello_world.cpp -o rcpp_hello_world.o g++ -std=gnu++17 -shared -s -static-libgcc -o RadEro.dll tmp.def RcppExports.o cJSON.o model.o rcpp_hello_world.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-RadEro/00new/RadEro/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (RadEro)