* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘creditr’ ...
** this is package ‘creditr’ version ‘0.6.2’
** package ‘creditr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 21.1.6 (2)’
using C++ compiler: ‘Debian clang version 21.1.6 (2)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNxOcPl/R.INSTALL1a2efb79e7f7a8/creditr/src'
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c badday.c -o badday.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bsearch.c -o bsearch.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c busDaysOffset.c -o busDaysOffset.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c buscache.c -o buscache.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c busday.c -o busday.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c calcSpread.c -o calcSpread.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c calcUpfront.c -o calcUpfront.o
calcUpfront.c:252:9: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
252 | if (JpmcdsStringToStubMethod(pt_stubCDS, &stub) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:252:5: note: remove the 'if' if its condition is always false
252 | if (JpmcdsStringToStubMethod(pt_stubCDS, &stub) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
253 | goto done;
| ~~~~~~~~~
calcUpfront.c:249:9: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
249 | if (JpmcdsStringToDateInterval(pt_ivlCDS, routine, &ivl) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:249:5: note: remove the 'if' if its condition is always false
249 | if (JpmcdsStringToDateInterval(pt_ivlCDS, routine, &ivl) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | goto done;
| ~~~~~~~~~
calcUpfront.c:246:9: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
246 | if (JpmcdsStringToDayCountConv(pt_dccCDS, &dcc) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:246:5: note: remove the 'if' if its condition is always false
246 | if (JpmcdsStringToDayCountConv(pt_dccCDS, &dcc) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | goto done;
| ~~~~~~~~~
calcUpfront.c:210:11: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
210 | if (JpmcdsDateFwdThenAdjust(baseDate, &tmp, JPMCDS_BAD_DAY_NONE, "None", dates_main+i) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:210:7: note: remove the 'if' if its condition is always false
210 | if (JpmcdsDateFwdThenAdjust(baseDate, &tmp, JPMCDS_BAD_DAY_NONE, "None", dates_main+i) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | {
| ~
212 | JpmcdsErrMsg ("%s: invalid interval for element[%d].\n", routine_zc_main, i);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
213 | goto done;
| ~~~~~~~~~~
214 | }
| ~
calcUpfront.c:203:11: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
203 | if (JpmcdsStringToDateInterval(strdup(CHAR(asChar(VECTOR_ELT(expiries, i)))), routine_zc_main, &tmp) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:203:7: note: remove the 'if' if its condition is always false
203 | if (JpmcdsStringToDateInterval(strdup(CHAR(asChar(VECTOR_ELT(expiries, i)))), routine_zc_main, &tmp) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 |
205 | {
| ~
206 | JpmcdsErrMsg ("%s: invalid interval for element[%d].\n", routine_zc_main, i);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | goto done;
| ~~~~~~~~~~
208 | }
| ~
calcUpfront.c:192:7: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
192 | if (JpmcdsDateIntervalToFreq(&floatSwapIvl_curve, &floatSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:192:3: note: remove the 'if' if its condition is always false
192 | if (JpmcdsDateIntervalToFreq(&floatSwapIvl_curve, &floatSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193 | goto done;
| ~~~~~~~~~
calcUpfront.c:190:7: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
190 | if (JpmcdsDateIntervalToFreq(&fixedSwapIvl_curve, &fixedSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:190:3: note: remove the 'if' if its condition is always false
190 | if (JpmcdsDateIntervalToFreq(&fixedSwapIvl_curve, &fixedSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
191 | goto done;
| ~~~~~~~~~
calcUpfront.c:187:7: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
187 | if (JpmcdsStringToDateInterval(pt_floatSwapFreq, routine_zc_main, &floatSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:187:3: note: remove the 'if' if its condition is always false
187 | if (JpmcdsStringToDateInterval(pt_floatSwapFreq, routine_zc_main, &floatSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
188 | goto done;
| ~~~~~~~~~
calcUpfront.c:185:7: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
185 | if (JpmcdsStringToDateInterval(pt_fixedSwapFreq, routine_zc_main, &fixedSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:185:3: note: remove the 'if' if its condition is always false
185 | if (JpmcdsStringToDateInterval(pt_fixedSwapFreq, routine_zc_main, &fixedSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186 | goto done;
| ~~~~~~~~~
calcUpfront.c:182:7: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
182 | if (JpmcdsStringToDayCountConv(pt_floatSwapDCC, &floatSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:182:3: note: remove the 'if' if its condition is always false
182 | if (JpmcdsStringToDayCountConv(pt_floatSwapDCC, &floatSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183 | goto done;
| ~~~~~~~~~
calcUpfront.c:180:7: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
180 | if (JpmcdsStringToDayCountConv(pt_fixedSwapDCC, &fixedSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:180:3: note: remove the 'if' if its condition is always false
180 | if (JpmcdsStringToDayCountConv(pt_fixedSwapDCC, &fixedSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181 | goto done;
| ~~~~~~~~~
calcUpfront.c:177:7: warning: variable 'result' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
177 | if (JpmcdsStringToDayCountConv(pt_mmDCC, &mmDCC_zc_main) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:31: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~
calcUpfront.c:177:3: note: remove the 'if' if its condition is always false
177 | if (JpmcdsStringToDayCountConv(pt_mmDCC, &mmDCC_zc_main) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
178 | goto done;
| ~~~~~~~~~
calcUpfront.c:255:5: note: variable 'result' is declared here
255 | double result = -1.0;
| ^
calcUpfront.c:252:9: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
252 | if (JpmcdsStringToStubMethod(pt_stubCDS, &stub) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:252:5: note: remove the 'if' if its condition is always false
252 | if (JpmcdsStringToStubMethod(pt_stubCDS, &stub) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
253 | goto done;
| ~~~~~~~~~
calcUpfront.c:249:9: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
249 | if (JpmcdsStringToDateInterval(pt_ivlCDS, routine, &ivl) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:249:5: note: remove the 'if' if its condition is always false
249 | if (JpmcdsStringToDateInterval(pt_ivlCDS, routine, &ivl) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | goto done;
| ~~~~~~~~~
calcUpfront.c:246:9: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
246 | if (JpmcdsStringToDayCountConv(pt_dccCDS, &dcc) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:246:5: note: remove the 'if' if its condition is always false
246 | if (JpmcdsStringToDayCountConv(pt_dccCDS, &dcc) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | goto done;
| ~~~~~~~~~
calcUpfront.c:210:11: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
210 | if (JpmcdsDateFwdThenAdjust(baseDate, &tmp, JPMCDS_BAD_DAY_NONE, "None", dates_main+i) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:210:7: note: remove the 'if' if its condition is always false
210 | if (JpmcdsDateFwdThenAdjust(baseDate, &tmp, JPMCDS_BAD_DAY_NONE, "None", dates_main+i) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | {
| ~
212 | JpmcdsErrMsg ("%s: invalid interval for element[%d].\n", routine_zc_main, i);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
213 | goto done;
| ~~~~~~~~~~
214 | }
| ~
calcUpfront.c:203:11: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
203 | if (JpmcdsStringToDateInterval(strdup(CHAR(asChar(VECTOR_ELT(expiries, i)))), routine_zc_main, &tmp) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:203:7: note: remove the 'if' if its condition is always false
203 | if (JpmcdsStringToDateInterval(strdup(CHAR(asChar(VECTOR_ELT(expiries, i)))), routine_zc_main, &tmp) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 |
205 | {
| ~
206 | JpmcdsErrMsg ("%s: invalid interval for element[%d].\n", routine_zc_main, i);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | goto done;
| ~~~~~~~~~~
208 | }
| ~
calcUpfront.c:192:7: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
192 | if (JpmcdsDateIntervalToFreq(&floatSwapIvl_curve, &floatSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:192:3: note: remove the 'if' if its condition is always false
192 | if (JpmcdsDateIntervalToFreq(&floatSwapIvl_curve, &floatSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193 | goto done;
| ~~~~~~~~~
calcUpfront.c:190:7: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
190 | if (JpmcdsDateIntervalToFreq(&fixedSwapIvl_curve, &fixedSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:190:3: note: remove the 'if' if its condition is always false
190 | if (JpmcdsDateIntervalToFreq(&fixedSwapIvl_curve, &fixedSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
191 | goto done;
| ~~~~~~~~~
calcUpfront.c:187:7: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
187 | if (JpmcdsStringToDateInterval(pt_floatSwapFreq, routine_zc_main, &floatSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:187:3: note: remove the 'if' if its condition is always false
187 | if (JpmcdsStringToDateInterval(pt_floatSwapFreq, routine_zc_main, &floatSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
188 | goto done;
| ~~~~~~~~~
calcUpfront.c:185:7: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
185 | if (JpmcdsStringToDateInterval(pt_fixedSwapFreq, routine_zc_main, &fixedSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:185:3: note: remove the 'if' if its condition is always false
185 | if (JpmcdsStringToDateInterval(pt_fixedSwapFreq, routine_zc_main, &fixedSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186 | goto done;
| ~~~~~~~~~
calcUpfront.c:182:7: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
182 | if (JpmcdsStringToDayCountConv(pt_floatSwapDCC, &floatSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:182:3: note: remove the 'if' if its condition is always false
182 | if (JpmcdsStringToDayCountConv(pt_floatSwapDCC, &floatSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183 | goto done;
| ~~~~~~~~~
calcUpfront.c:180:7: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
180 | if (JpmcdsStringToDayCountConv(pt_fixedSwapDCC, &fixedSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:180:3: note: remove the 'if' if its condition is always false
180 | if (JpmcdsStringToDayCountConv(pt_fixedSwapDCC, &fixedSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181 | goto done;
| ~~~~~~~~~
calcUpfront.c:177:7: warning: variable 'upfrontPayment' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
177 | if (JpmcdsStringToDayCountConv(pt_mmDCC, &mmDCC_zc_main) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:278:10: note: uninitialized use occurs here
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^~~~~~~~~~~~~~
calcUpfront.c:177:3: note: remove the 'if' if its condition is always false
177 | if (JpmcdsStringToDayCountConv(pt_mmDCC, &mmDCC_zc_main) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
178 | goto done;
| ~~~~~~~~~
calcUpfront.c:73:22: note: initialize the variable 'upfrontPayment' to silence this warning
73 | SEXP upfrontPayment;
| ^
| = NULL
calcUpfront.c:192:7: warning: variable 'dates_main' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
192 | if (JpmcdsDateIntervalToFreq(&floatSwapIvl_curve, &floatSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:280:10: note: uninitialized use occurs here
280 | FREE(dates_main);
| ^~~~~~~~~~
calcUpfront.c:192:3: note: remove the 'if' if its condition is always false
192 | if (JpmcdsDateIntervalToFreq(&floatSwapIvl_curve, &floatSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193 | goto done;
| ~~~~~~~~~
calcUpfront.c:190:7: warning: variable 'dates_main' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
190 | if (JpmcdsDateIntervalToFreq(&fixedSwapIvl_curve, &fixedSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:280:10: note: uninitialized use occurs here
280 | FREE(dates_main);
| ^~~~~~~~~~
calcUpfront.c:190:3: note: remove the 'if' if its condition is always false
190 | if (JpmcdsDateIntervalToFreq(&fixedSwapIvl_curve, &fixedSwapFreq_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
191 | goto done;
| ~~~~~~~~~
calcUpfront.c:187:7: warning: variable 'dates_main' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
187 | if (JpmcdsStringToDateInterval(pt_floatSwapFreq, routine_zc_main, &floatSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:280:10: note: uninitialized use occurs here
280 | FREE(dates_main);
| ^~~~~~~~~~
calcUpfront.c:187:3: note: remove the 'if' if its condition is always false
187 | if (JpmcdsStringToDateInterval(pt_floatSwapFreq, routine_zc_main, &floatSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
188 | goto done;
| ~~~~~~~~~
calcUpfront.c:185:7: warning: variable 'dates_main' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
185 | if (JpmcdsStringToDateInterval(pt_fixedSwapFreq, routine_zc_main, &fixedSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:280:10: note: uninitialized use occurs here
280 | FREE(dates_main);
| ^~~~~~~~~~
calcUpfront.c:185:3: note: remove the 'if' if its condition is always false
185 | if (JpmcdsStringToDateInterval(pt_fixedSwapFreq, routine_zc_main, &fixedSwapIvl_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186 | goto done;
| ~~~~~~~~~
calcUpfront.c:182:7: warning: variable 'dates_main' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
182 | if (JpmcdsStringToDayCountConv(pt_floatSwapDCC, &floatSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:280:10: note: uninitialized use occurs here
280 | FREE(dates_main);
| ^~~~~~~~~~
calcUpfront.c:182:3: note: remove the 'if' if its condition is always false
182 | if (JpmcdsStringToDayCountConv(pt_floatSwapDCC, &floatSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183 | goto done;
| ~~~~~~~~~
calcUpfront.c:180:7: warning: variable 'dates_main' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
180 | if (JpmcdsStringToDayCountConv(pt_fixedSwapDCC, &fixedSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:280:10: note: uninitialized use occurs here
280 | FREE(dates_main);
| ^~~~~~~~~~
calcUpfront.c:180:3: note: remove the 'if' if its condition is always false
180 | if (JpmcdsStringToDayCountConv(pt_fixedSwapDCC, &fixedSwapDCC_curve) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181 | goto done;
| ~~~~~~~~~
calcUpfront.c:177:7: warning: variable 'dates_main' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
177 | if (JpmcdsStringToDayCountConv(pt_mmDCC, &mmDCC_zc_main) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:280:10: note: uninitialized use occurs here
280 | FREE(dates_main);
| ^~~~~~~~~~
calcUpfront.c:177:3: note: remove the 'if' if its condition is always false
177 | if (JpmcdsStringToDayCountConv(pt_mmDCC, &mmDCC_zc_main) != SUCCESS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
178 | goto done;
| ~~~~~~~~~
calcUpfront.c:197:20: note: initialize the variable 'dates_main' to silence this warning
197 | TDate *dates_main;// = NULL;
| ^
| = NULL
31 warnings generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cashflow.c -o cashflow.o
cashflow.c:320:17: warning: unused variable 'routine' [-Wunused-variable]
320 | static char routine[]="JpmcdsNewCFLFromDL3";
| ^~~~~~~
1 warning generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cds.c -o cds.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cdsbootstrap.c -o cdsbootstrap.o
cdsbootstrap.c:209:21: warning: unused variable 'settleDiscount' [-Wunused-variable]
209 | double settleDiscount = 0.0;
| ^~~~~~~~~~~~~~
1 warning generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cdsone.c -o cdsone.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cerror.c -o cerror.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cfileio.c -o cfileio.o
cfileio.c:172:18: warning: unused variable 'routine' [-Wunused-variable]
172 | static char routine[] = "JpmcdsFgets";
| ^~~~~~~
1 warning generated.
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c cfinanci.cpp -o cfinanci.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cmemory.c -o cmemory.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c contingentleg.c -o contingentleg.o
contingentleg.c:181:12: warning: variable 't' set but not used [-Wunused-but-set-variable]
181 | double t;
| ^
1 warning generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c convert.c -o convert.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cx.c -o cx.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cxbsearch.c -o cxbsearch.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cxdatelist.c -o cxdatelist.o
cxdatelist.c:19:12: warning: unused function 'qsortDateCompare' [-Wunused-function]
19 | static int qsortDateCompare(const void *date1, const void *date2)
| ^~~~~~~~~~~~~~~~
1 warning generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cxzerocurve.c -o cxzerocurve.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c date_sup.c -o date_sup.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c dateadj.c -o dateadj.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c dateconv.c -o dateconv.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c datelist.c -o datelist.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c defaulted.c -o defaulted.o
defaulted.c:37:11: warning: unused variable 'accrualStartDateAdj' [-Wunused-variable]
37 | TDate accrualStartDateAdj;
| ^~~~~~~~~~~~~~~~~~~
defaulted.c:38:11: warning: unused variable 'accrualEndDateAdj' [-Wunused-variable]
38 | TDate accrualEndDateAdj;
| ^~~~~~~~~~~~~~~~~
2 warnings generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c dtlist.c -o dtlist.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c feeleg.c -o feeleg.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c fltrate.c -o fltrate.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c gtozc.c -o gtozc.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c interpc.c -o interpc.o
interpc.c:113:9: warning: unused variable 'order' [-Wunused-variable]
113 | int order = 0;
| ^~~~~
1 warning generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ldate.c -o ldate.o
ldate.c:608:12: warning: unused function 'mymin' [-Wunused-function]
608 | static int mymin (int *values)
| ^~~~~
1 warning generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c linterpc.c -o linterpc.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c lintrp1.c -o lintrp1.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c lprintf.c -o lprintf.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c lscanf.c -o lscanf.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rtbrent.c -o rtbrent.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c schedule.c -o schedule.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c streamcf.c -o streamcf.o
streamcf.c:120:18: warning: unused variable 'stubCompound' [-Wunused-variable]
120 | TBoolean stubCompound = FALSE; /* TRUE for tam, FALSE for t4m */
| ^~~~~~~~~~~~
1 warning generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c strutil.c -o strutil.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c stub.c -o stub.o
stub.c:43:12: warning: variable 'stubFrac' set but not used [-Wunused-but-set-variable]
43 | double stubFrac; /* Fraction of coupon */
| ^
stub.c:44:12: warning: variable 'coupon' set but not used [-Wunused-but-set-variable]
44 | double coupon, couponYearFrac;
| ^
2 warnings generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c tcurve.c -o tcurve.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c timeline.c -o timeline.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c version.c -o version.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c yearfrac.c -o yearfrac.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c zcall.c -o zcall.o
zcall.c:1136:22: warning: variable 'metricFP' set but not used [-Wunused-but-set-variable]
1136 | TMetricDoubleFunc metricFP; /* day counting metric function */
| ^
zcall.c:1140:20: warning: unused variable 'interpData' [-Wunused-variable]
1140 | TInterpData *interpData = interpDataIn; /* interpolation data */
| ^~~~~~~~~~
zcall.c:1142:20: warning: unused variable 'yearsFromBaseDate' [-Wunused-variable]
1142 | double yearsFromBaseDate = (date - zc->valueDate) / 365.25;
| ^~~~~~~~~~~~~~~~~
3 warnings generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c zcswap.c -o zcswap.o
zcswap.c:185:19: warning: unused variable 'newDates' [-Wunused-variable]
185 | TSwapDates *newDates = NULL; /* Swap dates w/ synthetics */
| ^~~~~~~~
zcswap.c:188:19: warning: unused variable 'useFastZC' [-Wunused-variable]
188 | TBoolean useFastZC = FALSE; /* whether to use swap zc */
| ^~~~~~~~~
2 warnings generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c zcswdate.c -o zcswdate.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c zcswutil.c -o zcswutil.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c zerocurve.c -o zerocurve.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c zr2coup.c -o zr2coup.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c zr2fwd.c -o zr2fwd.o
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
clang++-21 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o creditr.so badday.o bsearch.o busDaysOffset.o buscache.o busday.o calcSpread.o calcUpfront.o cashflow.o cds.o cdsbootstrap.o cdsone.o cerror.o cfileio.o cfinanci.o cmemory.o contingentleg.o convert.o cx.o cxbsearch.o cxdatelist.o cxzerocurve.o date_sup.o dateadj.o dateconv.o datelist.o defaulted.o dtlist.o feeleg.o fltrate.o gtozc.o init.o interpc.o ldate.o linterpc.o lintrp1.o lprintf.o lscanf.o rtbrent.o schedule.o streamcf.o strutil.o stub.o tcurve.o timeline.o version.o yearfrac.o zcall.o zcswap.o zcswdate.o zcswutil.o zerocurve.o zr2coup.o zr2fwd.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNxOcPl/R.INSTALL1a2efb79e7f7a8/creditr/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNxOcPl/R.INSTALL1a2efb79e7f7a8/creditr/src'
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNxOcPl/R.INSTALL1a2efb79e7f7a8/creditr/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-creditr/00new/creditr/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (creditr)