* installing *source* package 'ActiSleep' ... ** package 'ActiSleep' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_12_22_01_50_00_26287/RtmpKuyaal/R.INSTALL2bffc5db65a81/ActiSleep/src' 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 -DR_NO_REMAP -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 -DR_NO_REMAP -c CallSegmentor.cpp -o CallSegmentor.o In file included from CallSegmentor.cpp:2: Segmentor.h: In instantiation of 'void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = Poisson; FunctionTypeName = Poisson; DataTypeName = int]': Segmentor.h:184:14: required from 'void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Poisson; FunctionTypeName = Poisson; DataTypeName = int]' Segmentor.h:152:12: required from 'Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, 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<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = Exponential; FunctionTypeName = Exponential; DataTypeName = double]': Segmentor.h:184:14: required from 'void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Exponential; FunctionTypeName = Exponential; DataTypeName = double]' Segmentor.h:152:12: required from 'Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, 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<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = BinNegative; FunctionTypeName = BinNegative; DataTypeName = int]': Segmentor.h:184:14: required from 'void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = BinNegative; FunctionTypeName = BinNegative; DataTypeName = int]' Segmentor.h:152:12: required from 'Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, 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<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = Trinome; FunctionTypeName = Trinome; DataTypeName = double]': Segmentor.h:184:14: required from 'void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Trinome; FunctionTypeName = Trinome; DataTypeName = double]' Segmentor.h:152:12: required from 'Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, 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<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = Variance; FunctionTypeName = Variance; DataTypeName = double]': Segmentor.h:184:14: required from 'void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Variance; FunctionTypeName = Variance; DataTypeName = double]' Segmentor.h:152:12: required from 'Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, 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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 -DR_NO_REMAP -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 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpKuyaal/R.INSTALL2bffc5db65a81/ActiSleep/src' make[1]: Entering directory '/d/temp/2024_12_22_01_50_00_26287/RtmpKuyaal/R.INSTALL2bffc5db65a81/ActiSleep/src' make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpKuyaal/R.INSTALL2bffc5db65a81/ActiSleep/src' installing to d:/Rcompile/CRANpkg/lib/4.5/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 * MD5 sums packaged installation of 'ActiSleep' as ActiSleep_0.2.2.zip * DONE (ActiSleep)