* installing *source* package 'ast2ast' ... ** this is package 'ast2ast' version '1.1.1' ** using staged installation ** libs specified C++20 using C++ compiler: 'g++.exe (GCC) 14.3.0' using C++20 g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_ADArrayOps.cpp -o tests_ADArrayOps.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Allocation.cpp -o tests_Allocation.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Array.cpp -o tests_Array.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Borrow.cpp -o tests_Borrow.o tests_Borrow.cpp: In instantiation of 'void test_borrow() [with RealType = etr::Double]': tests_Borrow.cpp:373:22: required from here 373 | test_borrow(); | ~~~~~~~~~~~~~~~~~~~^~ tests_Borrow.cpp:256:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 256 | const auto test = empty_borrow.get(0); | ^~~~ tests_Borrow.cpp:275:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 275 | const auto test = b.get(-1); | ^~~~ tests_Borrow.cpp:281:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 281 | const auto test = b.get(2); | ^~~~ tests_Borrow.cpp:287:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 287 | const auto test = b.get(100); | ^~~~ tests_Borrow.cpp:305:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 305 | const auto test = b.get(100); | ^~~~ tests_Borrow.cpp: In instantiation of 'void test_borrow() [with RealType = etr::ReverseDouble]': tests_Borrow.cpp:375:29: required from here 375 | test_borrow(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ tests_Borrow.cpp:256:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 256 | const auto test = empty_borrow.get(0); | ^~~~ tests_Borrow.cpp:275:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 275 | const auto test = b.get(-1); | ^~~~ tests_Borrow.cpp:281:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 281 | const auto test = b.get(2); | ^~~~ tests_Borrow.cpp:287:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 287 | const auto test = b.get(100); | ^~~~ tests_Borrow.cpp:305:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 305 | const auto test = b.get(100); | ^~~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Buffer.cpp -o tests_Buffer.o tests_Buffer.cpp: In instantiation of 'void test_buffer() [with RealType = etr::Double]': tests_Buffer.cpp:901:22: required from here 901 | test_buffer(); | ~~~~~~~~~~~~~~~~~~~^~ tests_Buffer.cpp:132:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 132 | const auto test = b.get(0); | ^~~~ tests_Buffer.cpp:151:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 151 | const auto test = b.get(-1); | ^~~~ tests_Buffer.cpp:157:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 157 | const auto test = b.get(2); | ^~~~ tests_Buffer.cpp:163:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 163 | const auto test = b.get(100); | ^~~~ tests_Buffer.cpp:181:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 181 | const auto test = b.get(100); | ^~~~ tests_Buffer.cpp: In instantiation of 'void test_buffer() [with RealType = etr::ReverseDouble]': tests_Buffer.cpp:903:29: required from here 903 | test_buffer(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ tests_Buffer.cpp:132:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 132 | const auto test = b.get(0); | ^~~~ tests_Buffer.cpp:151:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 151 | const auto test = b.get(-1); | ^~~~ tests_Buffer.cpp:157:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 157 | const auto test = b.get(2); | ^~~~ tests_Buffer.cpp:163:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 163 | const auto test = b.get(100); | ^~~~ tests_Buffer.cpp:181:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 181 | const auto test = b.get(100); | ^~~~ tests_Buffer.cpp: In instantiation of 'void test_buffer() [with RealType = etr::Dual]': tests_Buffer.cpp:904:20: required from here 904 | test_buffer(); | ~~~~~~~~~~~~~~~~~^~ tests_Buffer.cpp:132:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 132 | const auto test = b.get(0); | ^~~~ tests_Buffer.cpp:151:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 151 | const auto test = b.get(-1); | ^~~~ tests_Buffer.cpp:157:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 157 | const auto test = b.get(2); | ^~~~ tests_Buffer.cpp:163:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 163 | const auto test = b.get(100); | ^~~~ tests_Buffer.cpp:181:18: warning: variable 'test' set but not used [-Wunused-but-set-variable] 181 | const auto test = b.get(100); | ^~~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_CMR.cpp -o tests_CMR.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Collection.cpp -o tests_Collection.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Concepts.cpp -o tests_Concepts.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Determinant.cpp -o tests_Determinant.o tests_Determinant.cpp: In function 'void test_determinant()': tests_Determinant.cpp:52:12: warning: variable 'bad' set but not used [-Wunused-but-set-variable] 52 | auto bad = determinant(M); | ^~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_FirstDispatchLayer.cpp -o tests_FirstDispatchLayer.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Jac.cpp -o tests_Jac.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_MatMul.cpp -o tests_MatMul.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_MatMulBlock.cpp -o tests_MatMulBlock.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Preserved_Subsetting.cpp -o tests_Preserved_Subsetting.o tests_Preserved_Subsetting.cpp: In function 'void test_indices_preserved_subsetting()': tests_Preserved_Subsetting.cpp:290:8: warning: variable 'compare' set but not used [-Wunused-but-set-variable] 290 | auto compare = [](double l, double r) { | ^~~~~~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_SecondDispatchLayer.cpp -o tests_SecondDispatchLayer.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_SimplifiedSubsetting.cpp -o tests_SimplifiedSubsetting.o tests_SimplifiedSubsetting.cpp: In function 'void test_simplified_subsetting()': tests_SimplifiedSubsetting.cpp:169:8: warning: variable 'expect_dual_at' set but not used [-Wunused-but-set-variable] 169 | auto expect_dual_at = [&](auto& arr, std::size_t one_based_idx, double expected_val, double expected_dot) { | ^~~~~~~~~~~~~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_TriSolveZeroDiag.cpp -o tests_TriSolveZeroDiag.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Uniroot.cpp -o tests_Uniroot.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_Utilities.cpp -o tests_Utilities.o In file included from ../inst/include/etr.hpp:34, from tests_Utilities.cpp:2: ../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind >&, Array >&>(Array >&, Array >&):: [with auto:51 = etr::Array >]': ../inst/include/etr_bits/./Core/Types.hpp:377:5: required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind >&, Array >&>(Array >&, Array >&)::; Args = {Array >&, Array >&}]' 377 | (f(std::forward(args)), ...); return f; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/etr_bits/Allocation.hpp:407:13: required from 'auto etr::rbind(Args&& ...) [with Args = {Array >&, Array >&}]' 407 | forEachArg( | ~~~~~~~~~~^ 408 | [&](const auto &arg) { | ~~~~~~~~~~~~~~~~~~~~~~ 409 | using testType = Decayed; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | constexpr bool is_scalar = IsScalarLike; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 411 | if constexpr (is_scalar) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 412 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | ret.set(i * N + row, arg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 415 | } | ~ 416 | } else { | ~~~~~~~~ 417 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 418 | ret.set(i * N + row, static_cast(arg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 419 | } | ~ 420 | } | ~ 421 | row++; | ~~~~~~ 422 | } else { | ~~~~~~~~ 423 | using InnerType = typename ReRef::type::value_type; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 424 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 426 | ret.set(i * N + row, arg.get(safe_modulo(i, arg.size()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 427 | } | ~ 428 | } else { | ~~~~~~~~ 429 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | ret.set(i * N + row, static_cast(arg.get(safe_modulo(i, arg.size())))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 431 | } | ~ 432 | } | ~ 433 | row++; | ~~~~~~ 434 | } | ~ 435 | }, | ~~ 436 | args...); | ~~~~~~~~ tests_Utilities.cpp:297:19: required from here 297 | auto r = rbind(a, b); | ~~~~~^~~~~~ ../inst/include/etr_bits/Allocation.hpp:425:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 425 | for (int i = 0; i < ncols; i++) { | ~~^~~~~~~ ../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::cbind >&, Array >&>(Array >&, Array >&):: [with auto:53 = etr::Array >]': ../inst/include/etr_bits/./Core/Types.hpp:377:5: required from 'F etr::forEachArg(F, Args&& ...) [with F = cbind >&, Array >&>(Array >&, Array >&)::; Args = {Array >&, Array >&}]' 377 | (f(std::forward(args)), ...); return f; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/etr_bits/Allocation.hpp:470:13: required from 'auto etr::cbind(Args&& ...) [with Args = {Array >&, Array >&}]' 470 | forEachArg( | ~~~~~~~~~~^ 471 | [&](const auto &arg) { | ~~~~~~~~~~~~~~~~~~~~~~ 472 | using testType = Decayed; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 473 | constexpr bool is_scalar = IsScalarLike; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 474 | if constexpr (is_scalar) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 475 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 476 | for (int i = 0; i < nrows; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 477 | ret.set(col * nrows + i, arg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 478 | } | ~ 479 | } else { | ~~~~~~~~ 480 | for (int i = 0; i < nrows; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 481 | ret.set(col * nrows + i, static_cast(arg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 482 | } | ~ 483 | } | ~ 484 | col++; | ~~~~~~ 485 | } else { | ~~~~~~~~ 486 | using InnerType = typename ReRef::type::value_type; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 487 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 488 | for (int i = 0; i < nrows; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | ret.set(col * nrows + i, arg.get(safe_modulo(i, arg.size()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | } | ~ 491 | } else { | ~~~~~~~~ 492 | for (int i = 0; i < nrows; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 493 | ret.set(col * nrows + i, static_cast(arg.get(safe_modulo(i, arg.size())))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 494 | } | ~ 495 | } | ~ 496 | col++; | ~~~~~~ 497 | } | ~ 498 | }, | ~~ 499 | args...); | ~~~~~~~~ tests_Utilities.cpp:306:20: required from here 306 | auto cc = cbind(a, b); | ~~~~~^~~~~~ ../inst/include/etr_bits/Allocation.hpp:488:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 488 | for (int i = 0; i < nrows; i++) { | ~~^~~~~~~ ../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind >&, Double>(Array >&, Double&&):: [with auto:51 = etr::Array >]': ../inst/include/etr_bits/./Core/Types.hpp:377:5: required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind >&, Double>(Array >&, Double&&)::; Args = {Array >&, Double&}]' 377 | (f(std::forward(args)), ...); return f; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/etr_bits/Allocation.hpp:407:13: required from 'auto etr::rbind(Args&& ...) [with Args = {Array >&, Double}]' 407 | forEachArg( | ~~~~~~~~~~^ 408 | [&](const auto &arg) { | ~~~~~~~~~~~~~~~~~~~~~~ 409 | using testType = Decayed; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | constexpr bool is_scalar = IsScalarLike; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 411 | if constexpr (is_scalar) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 412 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | ret.set(i * N + row, arg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 415 | } | ~ 416 | } else { | ~~~~~~~~ 417 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 418 | ret.set(i * N + row, static_cast(arg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 419 | } | ~ 420 | } | ~ 421 | row++; | ~~~~~~ 422 | } else { | ~~~~~~~~ 423 | using InnerType = typename ReRef::type::value_type; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 424 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 426 | ret.set(i * N + row, arg.get(safe_modulo(i, arg.size()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 427 | } | ~ 428 | } else { | ~~~~~~~~ 429 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | ret.set(i * N + row, static_cast(arg.get(safe_modulo(i, arg.size())))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 431 | } | ~ 432 | } | ~ 433 | row++; | ~~~~~~ 434 | } | ~ 435 | }, | ~~ 436 | args...); | ~~~~~~~~ tests_Utilities.cpp:314:20: required from here 314 | auto r2 = rbind(a, Double(9.0)); | ~~~~~^~~~~~~~~~~~~~~~ ../inst/include/etr_bits/Allocation.hpp:425:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 425 | for (int i = 0; i < ncols; i++) { | ~~^~~~~~~ ../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind >&, Double>(Array >&, Double&&):: [with auto:51 = etr::Double]': ../inst/include/etr_bits/./Core/Types.hpp:377:5: required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind >&, Double>(Array >&, Double&&)::; Args = {Array >&, Double&}]' 377 | (f(std::forward(args)), ...); return f; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/etr_bits/Allocation.hpp:407:13: required from 'auto etr::rbind(Args&& ...) [with Args = {Array >&, Double}]' 407 | forEachArg( | ~~~~~~~~~~^ 408 | [&](const auto &arg) { | ~~~~~~~~~~~~~~~~~~~~~~ 409 | using testType = Decayed; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | constexpr bool is_scalar = IsScalarLike; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 411 | if constexpr (is_scalar) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 412 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | ret.set(i * N + row, arg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 415 | } | ~ 416 | } else { | ~~~~~~~~ 417 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 418 | ret.set(i * N + row, static_cast(arg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 419 | } | ~ 420 | } | ~ 421 | row++; | ~~~~~~ 422 | } else { | ~~~~~~~~ 423 | using InnerType = typename ReRef::type::value_type; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 424 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 426 | ret.set(i * N + row, arg.get(safe_modulo(i, arg.size()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 427 | } | ~ 428 | } else { | ~~~~~~~~ 429 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | ret.set(i * N + row, static_cast(arg.get(safe_modulo(i, arg.size())))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 431 | } | ~ 432 | } | ~ 433 | row++; | ~~~~~~ 434 | } | ~ 435 | }, | ~~ 436 | args...); | ~~~~~~~~ tests_Utilities.cpp:314:20: required from here 314 | auto r2 = rbind(a, Double(9.0)); | ~~~~~^~~~~~~~~~~~~~~~ ../inst/include/etr_bits/Allocation.hpp:413:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 413 | for (int i = 0; i < ncols; i++) { | ~~^~~~~~~ ../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind >&, Array >&>(Array >&, Array >&):: [with auto:51 = etr::Array >]': ../inst/include/etr_bits/./Core/Types.hpp:377:5: required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind >&, Array >&>(Array >&, Array >&)::; Args = {Array >&, Array >&}]' 377 | (f(std::forward(args)), ...); return f; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/etr_bits/Allocation.hpp:407:13: required from 'auto etr::rbind(Args&& ...) [with Args = {Array >&, Array >&}]' 407 | forEachArg( | ~~~~~~~~~~^ 408 | [&](const auto &arg) { | ~~~~~~~~~~~~~~~~~~~~~~ 409 | using testType = Decayed; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | constexpr bool is_scalar = IsScalarLike; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 411 | if constexpr (is_scalar) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 412 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | ret.set(i * N + row, arg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 415 | } | ~ 416 | } else { | ~~~~~~~~ 417 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 418 | ret.set(i * N + row, static_cast(arg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 419 | } | ~ 420 | } | ~ 421 | row++; | ~~~~~~ 422 | } else { | ~~~~~~~~ 423 | using InnerType = typename ReRef::type::value_type; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 424 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 426 | ret.set(i * N + row, arg.get(safe_modulo(i, arg.size()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 427 | } | ~ 428 | } else { | ~~~~~~~~ 429 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | ret.set(i * N + row, static_cast(arg.get(safe_modulo(i, arg.size())))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 431 | } | ~ 432 | } | ~ 433 | row++; | ~~~~~~ 434 | } | ~ 435 | }, | ~~ 436 | args...); | ~~~~~~~~ tests_Utilities.cpp:320:20: required from here 320 | auto rm = rbind(a, ai); | ~~~~~^~~~~~~ ../inst/include/etr_bits/Allocation.hpp:425:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 425 | for (int i = 0; i < ncols; i++) { | ~~^~~~~~~ ../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind >&, Array >&>(Array >&, Array >&):: [with auto:51 = etr::Array >]': ../inst/include/etr_bits/./Core/Types.hpp:377:5: required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind >&, Array >&>(Array >&, Array >&)::; Args = {Array >&, Array >&}]' 377 | (f(std::forward(args)), ...); return f; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/etr_bits/Allocation.hpp:407:13: required from 'auto etr::rbind(Args&& ...) [with Args = {Array >&, Array >&}]' 407 | forEachArg( | ~~~~~~~~~~^ 408 | [&](const auto &arg) { | ~~~~~~~~~~~~~~~~~~~~~~ 409 | using testType = Decayed; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | constexpr bool is_scalar = IsScalarLike; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 411 | if constexpr (is_scalar) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 412 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | ret.set(i * N + row, arg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 415 | } | ~ 416 | } else { | ~~~~~~~~ 417 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 418 | ret.set(i * N + row, static_cast(arg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 419 | } | ~ 420 | } | ~ 421 | row++; | ~~~~~~ 422 | } else { | ~~~~~~~~ 423 | using InnerType = typename ReRef::type::value_type; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 424 | if constexpr (IS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 426 | ret.set(i * N + row, arg.get(safe_modulo(i, arg.size()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 427 | } | ~ 428 | } else { | ~~~~~~~~ 429 | for (int i = 0; i < ncols; i++) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | ret.set(i * N + row, static_cast(arg.get(safe_modulo(i, arg.size())))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 431 | } | ~ 432 | } | ~ 433 | row++; | ~~~~~~ 434 | } | ~ 435 | }, | ~~ 436 | args...); | ~~~~~~~~ tests_Utilities.cpp:320:20: required from here 320 | auto rm = rbind(a, ai); | ~~~~~^~~~~~~ ../inst/include/etr_bits/Allocation.hpp:429:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 429 | for (int i = 0; i < ncols; i++) { | ~~^~~~~~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_assign_Array_to_Scalars.cpp -o tests_assign_Array_to_Scalars.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_coloured_jacobian.cpp -o tests_coloured_jacobian.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_crossprod.cpp -o tests_crossprod.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_diag.cpp -o tests_diag.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_lbfgsb.cpp -o tests_lbfgsb.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_nnls.cpp -o tests_nnls.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_pmap.cpp -o tests_pmap.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_scalar_types.cpp -o tests_scalar_types.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_solve.cpp -o tests_solve.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_transpose.cpp -o tests_transpose.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests_trisolve.cpp -o tests_trisolve.o g++ -shared -s -static-libgcc -o ast2ast.dll tmp.def RcppExports.o tests_ADArrayOps.o tests_Allocation.o tests_Array.o tests_Borrow.o tests_Buffer.o tests_CMR.o tests_Collection.o tests_Concepts.o tests_Determinant.o tests_FirstDispatchLayer.o tests_Jac.o tests_MatMul.o tests_MatMulBlock.o tests_Preserved_Subsetting.o tests_SecondDispatchLayer.o tests_SimplifiedSubsetting.o tests_TriSolveZeroDiag.o tests_Uniroot.o tests_Utilities.o tests_assign_Array_to_Scalars.o tests_coloured_jacobian.o tests_crossprod.o tests_diag.o tests_lbfgsb.o tests_nnls.o tests_pmap.o tests_scalar_types.o tests_solve.o tests_transpose.o tests_trisolve.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-ast2ast/00new/ast2ast/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** 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 (ast2ast)