* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘CPoptim’ ...
** this is package ‘CPoptim’ version ‘0.1.0’
** package ‘CPoptim’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-8) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpBOmxdp/R.INSTALL25a6d35e78eef/CPoptim/src'
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c CPoptim.c -o CPoptim.o
CPoptim.c: In function ‘CPoptim’:
CPoptim.c:200:17: warning: variable ‘autre’ set but not used [-Wunused-but-set-variable]
200 | int memSize,autre;
| ^~~~~
CPoptim.c:227:15: warning: ‘selPart’ may be used uninitialized [-Wmaybe-uninitialized]
227 | if(ID[i]==selPart)
| ^
CPoptim.c:187:9: note: ‘selPart’ was declared here
187 | int selPart,lenSubID;
| ^~~~~~~
CPoptim.c:313:31: warning: ‘bestX’ may be used uninitialized [-Wmaybe-uninitialized]
313 | minX[curPart][bestDim]=bestX;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
CPoptim.c:198:12: note: ‘bestX’ was declared here
198 | double bestX;
| ^~~~~
CPoptim.c:313:31: warning: ‘bestDim’ may be used uninitialized [-Wmaybe-uninitialized]
313 | minX[curPart][bestDim]=bestX;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
CPoptim.c:199:9: note: ‘bestDim’ was declared here
199 | int bestDim;
| ^~~~~~~
CPoptim.c:339:15: warning: ‘memSize’ may be used uninitialized [-Wmaybe-uninitialized]
339 | if(i<memSize)
| ^
CPoptim.c:200:9: note: ‘memSize’ was declared here
200 | int memSize,autre;
| ^~~~~~~
CPoptim.c:323:23: warning: ‘bestMu[0]’ may be used uninitialized [-Wmaybe-uninitialized]
323 | hatMu[selPart]=bestMu[0];
| ~~~~~~~~~~~~~~^~~~~~~~~~
CPoptim.c:196:12: note: ‘bestMu[0]’ was declared here
196 | double bestMu[2];
| ^~~~~~
CPoptim.c:324:23: warning: ‘bestMu[1]’ may be used uninitialized [-Wmaybe-uninitialized]
324 | hatMu[curPart]=bestMu[1];
| ~~~~~~~~~~~~~~^~~~~~~~~~
CPoptim.c:196:12: note: ‘bestMu[1]’ was declared here
196 | double bestMu[2];
| ^~~~~~
CPoptim.c:364:42: warning: ‘bestP[0]’ may be used uninitialized [-Wmaybe-uninitialized]
364 | aPriori[selPart]=aPriori[selPart]*bestP[0];
| ~~~~~~~~~~~~~~~~^~~~~~~~~
CPoptim.c:197:12: note: ‘bestP[0]’ was declared here
197 | double bestP[2];
| ^~~~~
CPoptim.c:363:42: warning: ‘bestP[1]’ may be used uninitialized [-Wmaybe-uninitialized]
363 | aPriori[curPart]=aPriori[selPart]*bestP[1];
| ~~~~~~~~~~~~~~~~^~~~~~~~~
CPoptim.c:197:12: note: ‘bestP[1]’ was declared here
197 | double bestP[2];
| ^~~~~
gcc-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o CPoptim.so CPoptim.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpBOmxdp/R.INSTALL25a6d35e78eef/CPoptim/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpBOmxdp/R.INSTALL25a6d35e78eef/CPoptim/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpBOmxdp/R.INSTALL25a6d35e78eef/CPoptim/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-CPoptim/00new/CPoptim/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘CPoptim’
finding HTML links ... done
CPoptim html
** 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 (CPoptim)