* installing *source* package 'ddalpha' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.2.0' using Fortran compiler: 'GNU Fortran (GCC) 12.2.0' using C++ compiler: 'g++.exe (GCC) 12.2.0' using C++14 g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c AlphaProcedure.cpp -o AlphaProcedure.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from AlphaProcedure.cpp:14: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c asa047.cpp -o asa047.o g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BandDepth.cpp -o BandDepth.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from BandDepth.cpp:1: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Common.cpp -o Common.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from Common.cpp:10: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ Common.cpp: In function 'double determinant(bMatrix&)': Common.cpp:164:27: warning: comparison of integer expressions of different signedness: 'int' and 'boost::numeric::ublas::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 164 | for (int i = 0; i < pivots.size(); ++i) | ~~^~~~~~~~~~~~~~~ Common.cpp:166:31: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 166 | if (pivots(i) != i) | ~~~~~~~~~~^~~~ Common.cpp: In function 'void outVector(TPoint&)': Common.cpp:270:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 270 | for (int j = 0; j < point.size(); j++){ | ~~^~~~~~~~~~~~~~ Common.cpp: In function 'void outMatrix(TMatrix&)': Common.cpp:280:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 280 | for (int i = 0; i < points.size(); i++){ | ~~^~~~~~~~~~~~~~~ Common.cpp:282:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 282 | for (int j = 0; j < points[i].size(); j++){ | ~~^~~~~~~~~~~~~~~~~~ Common.cpp: In function 'void outFeatures(Features)': Common.cpp:294:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 294 | for (int i = 0; i < fs.size(); i++){ | ~~^~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ddalpha.cpp -o ddalpha.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from ddalpha.cpp:14: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ddalpha.cpp: In function 'void AlphaLearn(double*, int*, int*, int*, int*, int*, double*)': ddalpha.cpp:295:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 295 | for (int i = 0; i < direction.size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ ddalpha.cpp: In function 'void AlphaLearnCV(double*, int*, int*, int*, int*, int*, int*, int*, double*)': ddalpha.cpp:314:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 314 | for (int i = 0; i < direction.size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ ddalpha.cpp: In function 'void AlphaClassify(double*, int*, int*, int*, double*, int*)': ddalpha.cpp:330:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 330 | for (int i = 0; i < _x[0].size(); i++){ | ~~^~~~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DKnn.cpp -o DKnn.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from DKnn.cpp:10: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ DKnn.cpp: In function 'void knnGetClasses(TDMatrix, int*, int, int, int, TDMatrix, int, int, bool, int, int*)': DKnn.cpp:76:28: warning: 'prjs' may be used uninitialized [-Wmaybe-uninitialized] 76 | CountDepths(reflected, learnlabels, nlearn * 2, d, learnpoints, nlearn, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | depthType, depths, tempDepths, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | car, dirs, prjs, ptPrjDepths, ndir // halfspace | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | ); | ~ DKnn.cpp:63:18: note: 'prjs' was declared here 63 | TDMatrix prjs; if (depthType == 1) prjs = newM(ndir, nlearn * 2); | ^~~~ DKnn.cpp:76:28: warning: 'dirs' may be used uninitialized [-Wmaybe-uninitialized] 76 | CountDepths(reflected, learnlabels, nlearn * 2, d, learnpoints, nlearn, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | depthType, depths, tempDepths, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | car, dirs, prjs, ptPrjDepths, ndir // halfspace | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | ); | ~ DKnn.cpp:62:18: note: 'dirs' was declared here 62 | TDMatrix dirs; if (depthType == 1) dirs = newM(ndir, d); | ^~~~ DKnn.cpp:76:28: warning: 'ptPrjDepths' may be used uninitialized [-Wmaybe-uninitialized] 76 | CountDepths(reflected, learnlabels, nlearn * 2, d, learnpoints, nlearn, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | depthType, depths, tempDepths, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | car, dirs, prjs, ptPrjDepths, ndir // halfspace | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | ); | ~ DKnn.cpp:64:18: note: 'ptPrjDepths' was declared here 64 | TDMatrix ptPrjDepths; if (depthType == 1) ptPrjDepths = newM(ndir, 1); | ^~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c HD.cpp -o HD.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from HD.cpp:12: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Knn.cpp -o Knn.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from Knn.cpp:10: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c LensDepth.cpp -o LensDepth.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from LensDepth.cpp:15: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Mahalanobis.cpp -o Mahalanobis.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from Mahalanobis.cpp:2: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ Mahalanobis.cpp: In function 'void MahalanobisDepth(TDMatrix, TDMatrix, int, int, int, double, double*)': Mahalanobis.cpp:32:13: warning: unused variable 'res' [-Wunused-variable] 32 | int res = lu_factorize(A, pm); | ^~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c OjaDepth.cpp -o OjaDepth.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from OjaDepth.cpp:1: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Polynomial.cpp -o Polynomial.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from Polynomial.cpp:14: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ Polynomial.cpp: In function 'TPoint PolynomialLearnCV(TDMatrix, int, int, int, int, int*, int*)': Polynomial.cpp:396:25: warning: unused variable 'tmp' [-Wunused-variable] 396 | for (int i = 0, tmp; i < numPoints; i++){ input2[i][0] = input[i][1]; input2[i][1] = input[i][0]; } // swap columns | ^~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c PotentialDepth.cpp -o PotentialDepth.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from PotentialDepth.cpp:1: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ PotentialDepth.cpp: In function 'double EuclidianDistance(TPoint&, TPoint&)': PotentialDepth.cpp:5:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 5 | for (int i = 0; i < x.size(); i++){ | ~~^~~~~~~~~~ PotentialDepth.cpp: In function 'double EuclidianDistance2(TPoint&, TPoint&)': PotentialDepth.cpp:13:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 13 | for (int i = 0; i< x.size(); i++){ | ~^~~~~~~~~~ PotentialDepth.cpp: In function 'void PotentialDepths(TMatrix&, TVariables&, TMatrix&, TMatrix&, double (*)(TPoint&, TPoint&, double), double, int)': PotentialDepth.cpp:60:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 60 | for (int i = 0; i < cardinalities.size(); classBeginning += cardinalities[i], i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~ PotentialDepth.cpp:67:60: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] 67 | else if (classPointsDepths->size() < cardinalities[i]) PotentialDepth.cpp:76:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for (int p = 0; p < testpoints.size(); p++){ | ~~^~~~~~~~~~~~~~~~~~~ PotentialDepth.cpp:96:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 96 | for (int p = 0; p < testpoints.size(); p++){ | ~~^~~~~~~~~~~~~~~~~~~ In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\vector:64, from stdafx.h:18: In member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = double; _Alloc = std::allocator]', inlined from 'void PotentialDepths(TMatrix&, TVariables&, TMatrix&, TMatrix&, double (*)(TPoint&, TPoint&, double), double, int)' at PotentialDepth.cpp:67:36: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:988:40: warning: 'classPointsDepths' may be used uninitialized [-Wmaybe-uninitialized] 988 | { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); } | ~~~~~~~~~~~~~~^~~~~~~~~ PotentialDepth.cpp: In function 'void PotentialDepths(TMatrix&, TVariables&, TMatrix&, TMatrix&, double (*)(TPoint&, TPoint&, double), double, int)': PotentialDepth.cpp:56:17: note: 'classPointsDepths' was declared here 56 | TPoint* classPointsDepths; | ^~~~~~~~~~~~~~~~~ PotentialDepth.cpp:103:17: warning: 'classPoints' may be used uninitialized [-Wmaybe-uninitialized] 103 | delete[] classPoints; | ^~~~~~~~~~~~~~~~~~~~ PotentialDepth.cpp:55:18: note: 'classPoints' was declared here 55 | TMatrix* classPoints; | ^~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ProjectionDepth.cpp -o ProjectionDepth.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from ProjectionDepth.cpp:14: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjectionDepth.cpp: At global scope: ProjectionDepth.cpp:21:12: warning: 'int CompareDec(OrderRec, OrderRec)' defined but not used [-Wunused-function] 21 | static int CompareDec(OrderRec x, OrderRec y) | ^~~~~~~~~~ ProjectionDepth.cpp:16:12: warning: 'int CompareAsc(OrderRec, OrderRec)' defined but not used [-Wunused-function] 16 | static int CompareAsc(OrderRec x, OrderRec y) | ^~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SimplicialDepth.cpp -o SimplicialDepth.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from SimplicialDepth.cpp:2: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ SimplicialDepth.cpp: In function 'void SimplicialDepthsEx(TDMatrix, TDMatrix, int, int, int, double*)': SimplicialDepth.cpp:46:22: warning: unused variable 'sc' [-Wunused-variable] 46 | bool sc = numSimplicesChecked == div0; | ^~ SimplicialDepth.cpp: In function 'long long unsigned int intSD2(double**, int)': SimplicialDepth.cpp:153:28: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 153 | for (int i = nh; i < nn; i++) { | ~~^~~~ SimplicialDepth.cpp:154:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 154 | while ((j <= nh - 1) && (alpha[j] + M_PI <= alpha[i] - eps)) j++; | ~~^~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c stdafx.cpp -o stdafx.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from stdafx.cpp:5: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c TukeyDepth.cpp -o TukeyDepth.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from TukeyDepth.cpp:14: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ZonoidDepth.cpp -o ZonoidDepth.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from stdafx.h:49, from ZonoidDepth.cpp:15: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from stdafx.h:15: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/matrix.hpp:18, from stdafx.h:21: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ZonoidDepth.cpp: In function 'double ZonoidDepth(std::vector >&, TPoint&, int&)': ZonoidDepth.cpp:403:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 403 | if (x_sort.size() == n) { /* Allocation successful. */ | ~~~~~~~~~~~~~~^~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ProjPropDepth/auxLinAlg.cpp -o ProjPropDepth/auxLinAlg.o g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ProjPropDepth/Matrix.cpp -o ProjPropDepth/Matrix.o ProjPropDepth/Matrix.cpp: In constructor 'dyMatrixClass::cMatrix::cMatrix(std::initializer_list >)': ProjPropDepth/Matrix.cpp:94:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::initializer_list >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 94 | for (int i = 0; i < args.size(); i++) n = std::max(n, (int)args.begin()[i].size()); | ~~^~~~~~~~~~~~~ ProjPropDepth/Matrix.cpp:96:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::initializer_list >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 96 | for (int i = 0; i < args.size(); i++) std::uninitialized_copy(args.begin()[i].begin(), args.begin()[i].end(), elems.get() + i*n); | ~~^~~~~~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ProjPropDepth/mvrandom.cpp -o ProjPropDepth/mvrandom.o In file included from ProjPropDepth/mvrandom.cpp:13: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\cmath:41, from ProjPropDepth/mvrandom.cpp:11: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | In file included from ProjPropDepth/mvrandom.cpp:14: ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cElliptic::cElliptic(int)': ProjPropDepth/mvrandom.h:194:13: warning: 'cElliptic::dim' will be initialized after [-Wreorder] 194 | int dim; // dimension of the space | ^~~ ProjPropDepth/mvrandom.h:192:14: warning: 'bool cElliptic::standard' [-Wreorder] 192 | bool standard; // if 'standard' is true, then the standard version, | ^~~~~~~~ ProjPropDepth/mvrandom.cpp:43:1: warning: when initialized here [-Wreorder] 43 | cElliptic::cElliptic(int aDim) : dim(aDim), standard(true), mu(NULL), sigma(NULL) {} | ^~~~~~~~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ProjPropDepth/ProjectionDepths.cpp -o ProjPropDepth/ProjectionDepths.o In file included from ProjPropDepth/mvrandom.h:16, from ProjPropDepth/ProjectionDepths.h:17, from ProjPropDepth/ProjectionDepths.cpp:20: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\cmath:41, from ProjPropDepth/ProjectionDepths.cpp:14: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | ProjPropDepth/mvrandom.h: In constructor 'cMt::cMt(int, int)': ProjPropDepth/mvrandom.h:314:47: warning: 'cMt::_chisqr' will be initialized after [-Wreorder] 314 | std::chi_squared_distribution _chisqr; | ^~~~~~~ ProjPropDepth/mvrandom.h:313:13: warning: 'int cMt::_df' [-Wreorder] 313 | int _df; // degrees of freedom | ^~~ ProjPropDepth/mvrandom.h:317:9: warning: when initialized here [-Wreorder] 317 | cMt(int aDim, int df) : cMNormal(aDim), _chisqr(df), _df(df) { }; | ^~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:365:9: warning: when initialized here [-Wreorder] 365 | cMSkewNormal(int aDim, double* delta) : cMNormal(aDim), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/mvrandom.h: In constructor 'cMSkewNormal::cMSkewNormal(int, double*, double*, double**)': ProjPropDepth/mvrandom.h:362:48: warning: 'cMSkewNormal::_unif' will be initialized after [-Wreorder] 362 | std::uniform_real_distribution _unif; | ^~~~~ ProjPropDepth/mvrandom.h:361:35: warning: 'std::unique_ptr cMSkewNormal::_delta' [-Wreorder] 361 | std::unique_ptr _delta; // multivariate skewness parameter | ^~~~~~ ProjPropDepth/mvrandom.h:368:9: warning: when initialized here [-Wreorder] 368 | cMSkewNormal(int aDim, double* delta, double* aMu, double** aSigma) : cMNormal(aDim, aMu, aSigma), _unif(0, 1), _delta{ delta } { }; | ^~~~~~~~~~~~ ProjPropDepth/ProjectionDepths.h: In constructor 'cProjection::cProjection(const dyMatrixClass::cMatrix&, int, int, int)': ProjPropDepth/ProjectionDepths.h:103:39: warning: 'cProjection::x' will be initialized after [-Wreorder] 103 | const dyMatrixClass::cMatrix& x; // matrix x of data points, x is a n x d matrix | ^ ProjPropDepth/ProjectionDepths.h:95:13: warning: 'int cProjection::n' [-Wreorder] 95 | int n, d; // n = number of points, d = dimension | ^ ProjPropDepth/ProjectionDepths.cpp:63:1: warning: when initialized here [-Wreorder] 63 | cProjection::cProjection(const cMatrix& x, int n, int d, int NRandom) | ^~~~~~~~~~~ ProjPropDepth/ProjectionDepths.h:96:13: warning: 'cProjection::_nProjections' will be initialized after [-Wreorder] 96 | int _nProjections; // counter for the number of projections ( = depth evaluations) | ^~~~~~~~~~~~~ ProjPropDepth/ProjectionDepths.h:75:13: warning: 'int cProjection::_nRandom' [-Wreorder] 75 | int _nRandom = 10000; // number of directions | ^~~~~~~~ ProjPropDepth/ProjectionDepths.cpp:63:1: warning: when initialized here [-Wreorder] 63 | cProjection::cProjection(const cMatrix& x, int n, int d, int NRandom) | ^~~~~~~~~~~ ProjPropDepth/ProjectionDepths.h:108:48: warning: 'cProjection::rnd' will be initialized after [-Wreorder] 108 | std::uniform_real_distribution rnd; // generation of U(0,1) random numbers | ^~~ ProjPropDepth/ProjectionDepths.h:104:35: warning: 'std::unique_ptr cProjection::xp' [-Wreorder] 104 | std::unique_ptr xp; // vector conatining the projections of the data points | ^~ ProjPropDepth/ProjectionDepths.cpp:63:1: warning: when initialized here [-Wreorder] 63 | cProjection::cProjection(const cMatrix& x, int n, int d, int NRandom) | ^~~~~~~~~~~ ProjPropDepth/ProjectionDepths.cpp: In member function 'double cProjection::NelderMead(const double*)': ProjPropDepth/ProjectionDepths.cpp:1016:45: warning: variable 'f_h' set but not used [-Wunused-but-set-variable] 1016 | double* x_h = new double[d]; double f_h; // best of x_r and x_{N+1} | ^~~ g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ProjPropDepth/UniDepths.cpp -o ProjPropDepth/UniDepths.o In file included from ProjPropDepth/UniDepths.cpp:20: ProjPropDepth/auxLinAlg.h:14: warning: "NOMINMAX" redefined 14 | #define NOMINMAX | In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_algobase.h:59, from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\algorithm:60, from ProjPropDepth/UniDepths.cpp:13: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition 45 | #define NOMINMAX 1 | ProjPropDepth/UniDepths.cpp: In function 'double DataDepth::ZD1(double, const double*, int, bool)': ProjPropDepth/UniDepths.cpp:49:60: warning: unused variable 'min' [-Wunused-variable] 49 | double Sum = 0, SumNeu, mark, delta, temp, min = DBL_MAX, max = -DBL_MAX; | ^~~ ProjPropDepth/UniDepths.cpp:49:75: warning: unused variable 'max' [-Wunused-variable] 49 | double Sum = 0, SumNeu, mark, delta, temp, min = DBL_MAX, max = -DBL_MAX; | ^~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"ProjPropDepth" -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o gfortran -pedantic -O2 -mfpmath=sse -msse2 -mstackrealign -c depth.fd.f -o depth.fd.o g++ -shared -s -static-libgcc -o ddalpha.dll tmp.def AlphaProcedure.o asa047.o BandDepth.o Common.o ddalpha.o DKnn.o HD.o Knn.o LensDepth.o Mahalanobis.o OjaDepth.o Polynomial.o PotentialDepth.o ProjectionDepth.o SimplicialDepth.o stdafx.o TukeyDepth.o ZonoidDepth.o ProjPropDepth/auxLinAlg.o ProjPropDepth/Matrix.o ProjPropDepth/mvrandom.o ProjPropDepth/ProjectionDepths.o ProjPropDepth/UniDepths.o init.o depth.fd.o -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -lgfortran -lm -lquadmath -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-ddalpha/00new/ddalpha/libs/x64 ** R ** data ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (ddalpha)