* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’ * installing *source* package ‘libcmaesr’ ... ** this is package ‘libcmaesr’ version ‘0.1.0’ ** package ‘libcmaesr’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘Debian clang version 23.1.1 (2)’ using C++ compiler: ‘Debian clang version 23.1.1 (2)’ make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpATOq16/R.INSTALL32ab3bb75193e/libcmaesr/src' clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cmaes_wrap.cpp -o cmaes_wrap.o In file included from cmaes_wrap.cpp:2: In file included from libcmaes/include/libcmaes/cmaes.h:25: In file included from libcmaes/include/libcmaes/esoptimizer.h:29: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ In file included from cmaes_wrap.cpp:2: libcmaes/include/libcmaes/cmaes.h:37:110: warning: instantiation of variable 'libcmaes::CMAStrategy>::_defaultPFunc' required here, but no definition is available [-Wundefined-var-template] 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmastrategy.h:129:65: note: forward declaration of template entity is here 129 | static ProgressFunc,CMASolutions> _defaultPFunc; /**< the default progress function. */ | ^ libcmaes/include/libcmaes/cmaes.h:37:110: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy>::_defaultPFunc' is explicitly instantiated in another translation unit 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmaes.h:40:107: warning: instantiation of variable 'libcmaes::CMAStrategy>::_defaultFPFunc' required here, but no definition is available [-Wundefined-var-template] 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ libcmaes/include/libcmaes/cmastrategy.h:130:61: note: forward declaration of template entity is here 130 | static PlotFunc,CMASolutions> _defaultFPFunc; /**< the default plot to file function. */ | ^ libcmaes/include/libcmaes/cmaes.h:40:107: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy>::_defaultFPFunc' is explicitly instantiated in another translation unit 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ 3 warnings generated. clang-23 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o clang-23 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rc_helpers.c -o rc_helpers.o clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/acovarianceupdate.cc -o libcmaes/acovarianceupdate.o In file included from libcmaes/acovarianceupdate.cc:22: In file included from libcmaes/include/libcmaes/acovarianceupdate.h:26: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ 1 warning generated. clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/bipopcmastrategy.cc -o libcmaes/bipopcmastrategy.o In file included from libcmaes/bipopcmastrategy.cc:22: In file included from libcmaes/include/libcmaes/bipopcmastrategy.h:25: In file included from libcmaes/include/libcmaes/ipopcmastrategy.h:25: In file included from libcmaes/include/libcmaes/cmastrategy.h:27: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ 1 warning generated. clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/cmaparameters.cc -o libcmaes/cmaparameters.o clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/cmasolutions.cc -o libcmaes/cmasolutions.o In file included from libcmaes/cmasolutions.cc:22: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ 1 warning generated. clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/cmastopcriteria.cc -o libcmaes/cmastopcriteria.o clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/cmastrategy.cc -o libcmaes/cmastrategy.o In file included from libcmaes/cmastrategy.cc:24: In file included from libcmaes/include/libcmaes/cmastrategy.h:27: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ 1 warning generated. clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/covarianceupdate.cc -o libcmaes/covarianceupdate.o In file included from libcmaes/covarianceupdate.cc:22: In file included from libcmaes/include/libcmaes/covarianceupdate.h:26: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ 1 warning generated. clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/errstats.cc -o libcmaes/errstats.o In file included from libcmaes/errstats.cc:22: In file included from libcmaes/include/libcmaes/errstats.h:27: In file included from libcmaes/include/libcmaes/cmaes.h:25: In file included from libcmaes/include/libcmaes/esoptimizer.h:29: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ In file included from libcmaes/errstats.cc:22: In file included from libcmaes/include/libcmaes/errstats.h:27: libcmaes/include/libcmaes/cmaes.h:37:110: warning: instantiation of variable 'libcmaes::CMAStrategy::_defaultPFunc' required here, but no definition is available [-Wundefined-var-template] 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmastrategy.h:129:65: note: forward declaration of template entity is here 129 | static ProgressFunc,CMASolutions> _defaultPFunc; /**< the default progress function. */ | ^ libcmaes/include/libcmaes/cmaes.h:37:110: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy::_defaultPFunc' is explicitly instantiated in another translation unit 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmaes.h:40:107: warning: instantiation of variable 'libcmaes::CMAStrategy::_defaultFPFunc' required here, but no definition is available [-Wundefined-var-template] 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ libcmaes/include/libcmaes/cmastrategy.h:130:61: note: forward declaration of template entity is here 130 | static PlotFunc,CMASolutions> _defaultFPFunc; /**< the default plot to file function. */ | ^ libcmaes/include/libcmaes/cmaes.h:40:107: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy::_defaultFPFunc' is explicitly instantiated in another translation unit 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ libcmaes/include/libcmaes/cmaes.h:37:110: warning: instantiation of variable 'libcmaes::CMAStrategy>::_defaultPFunc' required here, but no definition is available [-Wundefined-var-template] 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmastrategy.h:129:65: note: forward declaration of template entity is here 129 | static ProgressFunc,CMASolutions> _defaultPFunc; /**< the default progress function. */ | ^ libcmaes/include/libcmaes/cmaes.h:37:110: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy>::_defaultPFunc' is explicitly instantiated in another translation unit 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmaes.h:40:107: warning: instantiation of variable 'libcmaes::CMAStrategy>::_defaultFPFunc' required here, but no definition is available [-Wundefined-var-template] 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ libcmaes/include/libcmaes/cmastrategy.h:130:61: note: forward declaration of template entity is here 130 | static PlotFunc,CMASolutions> _defaultFPFunc; /**< the default plot to file function. */ | ^ libcmaes/include/libcmaes/cmaes.h:40:107: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy>::_defaultFPFunc' is explicitly instantiated in another translation unit 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ libcmaes/include/libcmaes/cmaes.h:37:110: warning: instantiation of variable 'libcmaes::CMAStrategy>::_defaultPFunc' required here, but no definition is available [-Wundefined-var-template] 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmastrategy.h:129:65: note: forward declaration of template entity is here 129 | static ProgressFunc,CMASolutions> _defaultPFunc; /**< the default progress function. */ | ^ libcmaes/include/libcmaes/cmaes.h:37:110: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy>::_defaultPFunc' is explicitly instantiated in another translation unit 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmaes.h:40:107: warning: instantiation of variable 'libcmaes::CMAStrategy>::_defaultFPFunc' required here, but no definition is available [-Wundefined-var-template] 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ libcmaes/include/libcmaes/cmastrategy.h:130:61: note: forward declaration of template entity is here 130 | static PlotFunc,CMASolutions> _defaultFPFunc; /**< the default plot to file function. */ | ^ libcmaes/include/libcmaes/cmaes.h:40:107: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy>::_defaultFPFunc' is explicitly instantiated in another translation unit 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ libcmaes/include/libcmaes/cmaes.h:37:110: warning: instantiation of variable 'libcmaes::CMAStrategy>::_defaultPFunc' required here, but no definition is available [-Wundefined-var-template] 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmastrategy.h:129:65: note: forward declaration of template entity is here 129 | static ProgressFunc,CMASolutions> _defaultPFunc; /**< the default progress function. */ | ^ libcmaes/include/libcmaes/cmaes.h:37:110: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy>::_defaultPFunc' is explicitly instantiated in another translation unit 37 | ProgressFunc,CMASolutions> &pfunc=CMAStrategy::_defaultPFunc, | ^ libcmaes/include/libcmaes/cmaes.h:40:107: warning: instantiation of variable 'libcmaes::CMAStrategy>::_defaultFPFunc' required here, but no definition is available [-Wundefined-var-template] 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ libcmaes/include/libcmaes/cmastrategy.h:130:61: note: forward declaration of template entity is here 130 | static PlotFunc,CMASolutions> _defaultFPFunc; /**< the default plot to file function. */ | ^ libcmaes/include/libcmaes/cmaes.h:40:107: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStrategy>::_defaultFPFunc' is explicitly instantiated in another translation unit 40 | PlotFunc,CMASolutions> &pffunc=CMAStrategy::_defaultFPFunc) | ^ 9 warnings generated. clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/esostrategy.cc -o libcmaes/esostrategy.o In file included from libcmaes/esostrategy.cc:25: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ 1 warning generated. clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/ipopcmastrategy.cc -o libcmaes/ipopcmastrategy.o In file included from libcmaes/ipopcmastrategy.cc:22: In file included from libcmaes/include/libcmaes/ipopcmastrategy.h:25: In file included from libcmaes/include/libcmaes/cmastrategy.h:27: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ 1 warning generated. clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/pwq_bound_strategy.cc -o libcmaes/pwq_bound_strategy.o clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilibcmaes/include -DLIBCMAES_LOG_TO_R=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libcmaes/vdcmaupdate.cc -o libcmaes/vdcmaupdate.o In file included from libcmaes/vdcmaupdate.cc:28: In file included from libcmaes/include/libcmaes/vdcmaupdate.h:26: libcmaes/include/libcmaes/cmasolutions.h:383:28: warning: instantiation of variable 'libcmaes::CMAStopCriteria<>::_scriterias' required here, but no definition is available [-Wundefined-var-template] 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ libcmaes/include/libcmaes/cmastopcriteria.h:106:38: note: forward declaration of template entity is here 106 | static std::map _scriterias; | ^ libcmaes/include/libcmaes/cmasolutions.h:383:28: note: add an explicit instantiation declaration to suppress this warning if 'libcmaes::CMAStopCriteria<>::_scriterias' is explicitly instantiated in another translation unit 383 | return CMAStopCriteria<>::_scriterias[_run_status]; | ^ 1 warning generated. clang++-23 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o libcmaesr.so cmaes_wrap.o init.o rc_helpers.o libcmaes/acovarianceupdate.o libcmaes/bipopcmastrategy.o libcmaes/cmaparameters.o libcmaes/cmasolutions.o libcmaes/cmastopcriteria.o libcmaes/cmastrategy.o libcmaes/covarianceupdate.o libcmaes/errstats.o libcmaes/esostrategy.o libcmaes/ipopcmastrategy.o libcmaes/pwq_bound_strategy.o libcmaes/vdcmaupdate.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpATOq16/R.INSTALL32ab3bb75193e/libcmaesr/src' make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpATOq16/R.INSTALL32ab3bb75193e/libcmaesr/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpATOq16/R.INSTALL32ab3bb75193e/libcmaesr/src' installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-libcmaesr/00new/libcmaesr/libs ** 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 ** 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 (libcmaesr)