* installing *source* package 'splusTimeDate' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c align.c -o align.o In file included from timeObj.h:14, from align.h:12, from align.c:19: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function] 75 | static void time_init(void); | ^~~~~~~~~ align.c: In function 'num_align': align.c:263:31: warning: 'sub2_data' may be used uninitialized [-Wmaybe-uninitialized] 263 | sub2_data[ align_curr ] = 1 + in_curr - in_inc; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ align.c:94:43: note: 'sub2_data' was declared here 94 | Sint *na_data, *drop_data, *sub1_data, *sub2_data; | ^~~~~~~~~ align.c:264:34: warning: 'weight1_data' may be used uninitialized [-Wmaybe-uninitialized] 264 | weight1_data[ align_curr ] = diff_under / ( diff_over + diff_under ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ align.c:95:11: note: 'weight1_data' was declared here 95 | double *weight1_data, *weight2_data; | ^~~~~~~~~~~~ align.c:265:34: warning: 'weight2_data' may be used uninitialized [-Wmaybe-uninitialized] 265 | weight2_data[ align_curr ] = diff_over / ( diff_over + diff_under ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ align.c:95:26: note: 'weight2_data' was declared here 95 | double *weight1_data, *weight2_data; | ^~~~~~~~~~~~ align.c:230:23: warning: 'diff_over' may be used uninitialized [-Wmaybe-uninitialized] 230 | else if( over_set && ( diff_over <= *pmatch_tol )) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ align.c:85:54: note: 'diff_over' was declared here 85 | double *in_nums, *in_pos, *pmatch_tol, diff_under, diff_over; | ^~~~~~~~~ align.c:264:47: warning: 'diff_under' may be used uninitialized [-Wmaybe-uninitialized] 264 | weight1_data[ align_curr ] = diff_under / ( diff_over + diff_under ); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ align.c:85:42: note: 'diff_under' was declared here 85 | double *in_nums, *in_pos, *pmatch_tol, diff_under, diff_over; | ^~~~~~~~~~ align.c: In function 'time_align': align.c:546:31: warning: 'sub2_data' may be used uninitialized [-Wmaybe-uninitialized] 546 | sub2_data[ align_curr ] = 1 + in_curr - in_inc; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ align.c:349:43: note: 'sub2_data' was declared here 349 | Sint *na_data, *drop_data, *sub1_data, *sub2_data; | ^~~~~~~~~ align.c:547:34: warning: 'weight1_data' may be used uninitialized [-Wmaybe-uninitialized] 547 | weight1_data[ align_curr ] = diff_under / ( diff_over + diff_under ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ align.c:350:11: note: 'weight1_data' was declared here 350 | double *weight1_data, *weight2_data; | ^~~~~~~~~~~~ align.c:548:34: warning: 'weight2_data' may be used uninitialized [-Wmaybe-uninitialized] 548 | weight2_data[ align_curr ] = diff_over / ( diff_over + diff_under ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ align.c:350:26: note: 'weight2_data' was declared here 350 | double *weight1_data, *weight2_data; | ^~~~~~~~~~~~ align.c:513:23: warning: 'diff_over' may be used uninitialized [-Wmaybe-uninitialized] 513 | else if( over_set && ( diff_over <= *pmatch_tol )) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ align.c:339:35: note: 'diff_over' was declared here 339 | double *pmatch_tol, diff_under, diff_over, over_num, | ^~~~~~~~~ align.c:547:47: warning: 'diff_under' may be used uninitialized [-Wmaybe-uninitialized] 547 | weight1_data[ align_curr ] = diff_under / ( diff_over + diff_under ); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ align.c:339:23: note: 'diff_under' was declared here 339 | double *pmatch_tol, diff_under, diff_over, over_num, | ^~~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dateMath.c -o dateMath.o In file included from dateMath.h:12, from dateMath.c:8: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o In file included from timeObj.h:14, from init.c:9: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function] 75 | static void time_init(void); | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mdy.c -o mdy.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c optionsObj.c -o optionsObj.o In file included from optionsObj.h:12, from optionsObj.c:20: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c relTime.c -o relTime.o relTime.c: In function 'rtime_add_with_zones': relTime.c:235:8: warning: unused variable 'jul' [-Wunused-variable] 235 | Sint jul; | ^~~ In file included from timeObj.h:14, from relTime.h:12, from relTime.c:18: zoneObj.h: At top level: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function] 75 | static void time_init(void); | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c stMath.c -o stMath.o stMath.c: In function 'time_range': stMath.c:561:29: warning: unused variable 'tmplng' [-Wunused-variable] 561 | Sint i, lng, initialized, tmplng; | ^~~~~~ stMath.c: In function 'time_sum': stMath.c:696:25: warning: unused variable 'tmplng' [-Wunused-variable] 696 | Sint i, lng, is_span, tmplng, tmp; | ^~~~~~ stMath.c: In function 'time_rel_seq': stMath.c:1021:37: warning: variable 'used_old_alg' set but not used [-Wunused-but-set-variable] 1021 | Sint pre_start_day, pre_start_ms, used_old_alg ; | ^~~~~~~~~~~~ In file included from timeObj.h:14, from stMath.h:12, from stMath.c:19: zoneObj.h: At top level: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function] 75 | static void time_init(void); | ^~~~~~~~~ stMath.c: In function 'time_rel_seq': stMath.c:1123:10: warning: 'seq_len' may be used uninitialized [-Wmaybe-uninitialized] 1123 | if( *seq_len ==NA_INTEGER){ | ^~~~~~~~ stMath.c:1014:36: note: 'seq_len' was declared here 1014 | *out_days, *out_ms, *use_len, *seq_len; | ^~~~~~~ stMath.c:1226:14: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 1226 | return ret; | ^~~ stMath.c:1012:8: note: 'ret' was declared here 1012 | SEXP ret, tmp_days, tmp_ms; | ^~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c timeFormat.c -o timeFormat.o In file included from timeObj.h:14, from timeFormat.h:12, from timeFormat.c:18: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function] 75 | static void time_init(void); | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c timeFuns.c -o timeFuns.o timeFuns.c: In function 'time_from_string': timeFuns.c:199:22: warning: variable 'col0' set but not used [-Wunused-but-set-variable] 199 | SEXP ret, in_data, col0; | ^~~~ timeFuns.c: In function 'tspan_to_string': timeFuns.c:360:10: warning: unused variable 'ret_data' [-Wunused-variable] 360 | char **ret_data, *in_format, *strbuf; | ^~~~~~~~ timeFuns.c: In function 'time_from_month_day_year': timeFuns.c:617:16: warning: unused variable 'tmplng' [-Wunused-variable] 617 | Sint i, lng, tmplng; | ^~~~~~ timeFuns.c: In function 'time_from_hour_min_sec': timeFuns.c:1073:16: warning: unused variable 'tmplng' [-Wunused-variable] 1073 | Sint i, lng, tmplng; | ^~~~~~ In file included from timeObj.h:14, from timeFuns.h:12, from timeFuns.c:42: zoneObj.h: At top level: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function] 75 | static void time_init(void); | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c timeObj.c -o timeObj.o timeObj.c: In function 'time_create_new': timeObj.c:514:22: warning: unused variable 'ms' [-Wunused-variable] 514 | SEXP ret, tmp, jd, ms; | ^~ timeObj.c:514:18: warning: unused variable 'jd' [-Wunused-variable] 514 | SEXP ret, tmp, jd, ms; | ^~ timeObj.c: In function 'tspan_create_new': timeObj.c:689:22: warning: unused variable 'ms' [-Wunused-variable] 689 | SEXP ret, tmp, jd, ms; | ^~ timeObj.c:689:18: warning: unused variable 'jd' [-Wunused-variable] 689 | SEXP ret, tmp, jd, ms; | ^~ In file included from timeObj.h:14, from timeObj.c:19: zoneObj.h: At top level: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ timeObj.c:27:27: warning: 'sp_format_slot' defined but not used [-Wunused-variable] 27 | static SEXP sp_data_slot, sp_format_slot; | ^~~~~~~~~~~~~~ timeObj.c:27:13: warning: 'sp_data_slot' defined but not used [-Wunused-variable] 27 | static SEXP sp_data_slot, sp_format_slot; | ^~~~~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c timeSpanFormat.c -o timeSpanFormat.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c timeUtils.c -o timeUtils.o timeUtils.c: In function 'checkClass': timeUtils.c:31:8: warning: unused variable 'cl' [-Wunused-variable] 31 | SEXP cl=getAttrib(x, R_ClassSymbol); | ^~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c zoneFuns.c -o zoneFuns.o In file included from zoneFuns.h:37, from zoneFuns.c:34: zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function] 160 | static void zone_init(void); | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c zoneObj.c -o zoneObj.o zoneObj.c: In function 'find_zone_info': zoneObj.c:103:8: warning: unused variable 'len' [-Wunused-variable] 103 | Sint len; | ^~~ zoneObj.c:100:18: warning: variable 'names' set but not used [-Wunused-but-set-variable] 100 | SEXP tmp_data, names; | ^~~~~ zoneObj.c: In function 'r_zone_to_struct': zoneObj.c:185:13: warning: unused variable 'tmplen' [-Wunused-variable] 185 | Sint len, tmplen, i; | ^~~~~~ In function 'r_zone_to_struct', inlined from 'find_zone_info' at zoneObj.c:130:13: zoneObj.c:327:12: warning: 'this_rule' may be used uninitialized [-Wmaybe-uninitialized] 327 | tz->rule = this_rule; | ~~~~~~~~~^~~~~~~~~~~ zoneObj.c: In function 'find_zone_info': zoneObj.c:179:34: note: 'this_rule' was declared here 179 | TZONE_RULE_STRUCT *prev_rule, *this_rule; | ^~~~~~~~~ gcc -shared -s -static-libgcc -o splusTimeDate.dll tmp.def align.o dateMath.o init.o mdy.o optionsObj.o relTime.o stMath.o timeFormat.o timeFuns.o timeObj.o timeSpanFormat.o timeUtils.o zoneFuns.o zoneObj.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-splusTimeDate/00new/splusTimeDate/libs/x64 ** R ** byte-compile and prepare package for lazy loading Creating a new generic function for 'sort.list' in package 'splusTimeDate' Creating a new generic function for 'weekdays' in package 'splusTimeDate' Creating a new generic function for 'months' in package 'splusTimeDate' Creating a new generic function for 'quarters' in package 'splusTimeDate' Creating a generic function for 'logb' from package 'base' in package 'splusTimeDate' Creating a generic function for 'match' from package 'base' in package 'splusTimeDate' Creating a generic function for 'cor' from package 'stats' in package 'splusTimeDate' Creating a generic function for 'var' from package 'stats' in package 'splusTimeDate' ** 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 (splusTimeDate)