* installing *source* package 'ActiSleep' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BinNegative.cpp -o BinNegative.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CallSegmentor.cpp -o CallSegmentor.o In file included from CallSegmentor.cpp:2: Segmentor.h: In instantiation of 'void Segmentor::Initialize() [with SumOfFunctionsTypeName = Poisson; FunctionTypeName = Poisson; DataTypeName = int]': Segmentor.h:184:14: required from 'void Segmentor::Initialize(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Poisson; FunctionTypeName = Poisson; DataTypeName = int]' Segmentor.h:152:12: required from 'Segmentor::Segmentor(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Poisson; FunctionTypeName = Poisson; DataTypeName = int]' CallSegmentor.cpp:34:86: required from here Segmentor.h:259:33: warning: deleting object of polymorphic class type 'Poisson' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 259 | delete Aux; | ^~~~~~~~~~ Segmentor.h: In instantiation of 'void Segmentor::Initialize() [with SumOfFunctionsTypeName = Exponential; FunctionTypeName = Exponential; DataTypeName = double]': Segmentor.h:184:14: required from 'void Segmentor::Initialize(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Exponential; FunctionTypeName = Exponential; DataTypeName = double]' Segmentor.h:152:12: required from 'Segmentor::Segmentor(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Exponential; FunctionTypeName = Exponential; DataTypeName = double]' CallSegmentor.cpp:73:97: required from here Segmentor.h:259:33: warning: deleting object of polymorphic class type 'Exponential' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] Segmentor.h: In instantiation of 'void Segmentor::Initialize() [with SumOfFunctionsTypeName = BinNegative; FunctionTypeName = BinNegative; DataTypeName = int]': Segmentor.h:184:14: required from 'void Segmentor::Initialize(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = BinNegative; FunctionTypeName = BinNegative; DataTypeName = int]' Segmentor.h:152:12: required from 'Segmentor::Segmentor(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = BinNegative; FunctionTypeName = BinNegative; DataTypeName = int]' CallSegmentor.cpp:205:94: required from here Segmentor.h:259:33: warning: deleting object of polymorphic class type 'BinNegative' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] Segmentor.h: In instantiation of 'void Segmentor::Initialize() [with SumOfFunctionsTypeName = Trinome; FunctionTypeName = Trinome; DataTypeName = double]': Segmentor.h:184:14: required from 'void Segmentor::Initialize(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Trinome; FunctionTypeName = Trinome; DataTypeName = double]' Segmentor.h:152:12: required from 'Segmentor::Segmentor(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Trinome; FunctionTypeName = Trinome; DataTypeName = double]' CallSegmentor.cpp:288:89: required from here Segmentor.h:259:33: warning: deleting object of polymorphic class type 'Trinome' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] Segmentor.h: In instantiation of 'void Segmentor::Initialize() [with SumOfFunctionsTypeName = Variance; FunctionTypeName = Variance; DataTypeName = double]': Segmentor.h:184:14: required from 'void Segmentor::Initialize(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Variance; FunctionTypeName = Variance; DataTypeName = double]' Segmentor.h:152:12: required from 'Segmentor::Segmentor(Observations&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Variance; FunctionTypeName = Variance; DataTypeName = double]' CallSegmentor.cpp:369:91: required from here Segmentor.h:259:33: warning: deleting object of polymorphic class type 'Variance' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Exp.cpp -o Exp.o Exp.cpp: In member function 'double Exponential::ArgMin(Segment&)': Exp.cpp:99:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 99 | if(!Tol.Contains((*this).B)) | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Function.cpp -o Function.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c GeneralFunctions.cpp -o GeneralFunctions.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MyVector.cpp -o MyVector.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Observations.cpp -o Observations.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Poisson.cpp -o Poisson.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c PrunedSeg.cc -o PrunedSeg.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Segment.cpp -o Segment.o Segment.cpp: In member function 'MultiSegment* Segment::IntersectWithComplementary(Segment&)': Segment.cpp:244:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 244 | if (Other.GetRight() < PLUS_INFINITY) | ^~ Segment.cpp:247:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 247 | Segment *T = (*this).Intersect(K); | ^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Segmentor.cpp -o Segmentor.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Sets.cpp -o Sets.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Trinome.cpp -o Trinome.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Variance.cpp -o Variance.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.cpp -o init.o g++ -std=gnu++17 -shared -s -static-libgcc -o ActiSleep.dll tmp.def BinNegative.o CallSegmentor.o Exp.o Function.o GeneralFunctions.o MyVector.o Observations.o Poisson.o PrunedSeg.o Segment.o Segmentor.o Sets.o Trinome.o Variance.o init.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-ActiSleep/00new/ActiSleep/libs/x64 ** R ** data ** 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 (ActiSleep)