* installing *source* package ‘RMixtCompIO’ ... ** package ‘RMixtCompIO’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 17.0.0 (https://github.com/llvm/llvm-project.git 78d91df452d669570e120cb5c3d5febf7f17475d)’ using C++17 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-flang2/RMixtCompIO/src' /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RGraph.cpp -o RGraph.o /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c UTest.cpp -o UTest.o In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RGraph.cpp:23: In file included from ./RGraph.h:30: In file included from lib/IO/NamedAlgebra.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:30: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SparseCore:61: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SparseCore:66: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Sparse:27: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/OrderingMethods:71: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Sparse:29: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SparseCholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Sparse:31: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SparseLU:33: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Sparse:32: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SparseQR:34: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Sparse:33: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:32: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/CholmodSupport:45: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:35: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:39: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/unsupported/Eigen/Polynomials:135: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:40: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/unsupported/Eigen/SparseExtra:44: /data/gannet2/ripley/R/test-flang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 239 | int count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/RcppEigenForward.h:40: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/unsupported/Eigen/SparseExtra:51: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rmc.cpp -o rmc.o In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const unsigned long &, const unsigned long &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const unsigned long &, const unsigned long &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Composer/MixtureComposer.h:278:88: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 278 | NamedVector dataCompleted { std::vector(), zClassInd_.zi().data_ + minModality }; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const unsigned long &, const unsigned long &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from UTest.cpp:25: In file included from lib/MixtComp.h:42: In file included from lib/Manager/createAllMixtures.h:27: lib/Composer/MixtureComposer.h:291:9: warning: unused variable 'nObs' [-Wunused-variable] 291 | Index nObs = paramStat_.getStatStorage().cols(); | ^~~~ 22 warnings generated. In file included from UTest.cpp:25: In file included from lib/MixtComp.h:33: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const int &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Mixture/Rank/RankISRMixture.h:275:46: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 275 | exportData.mat_.row(i) = data_(i).x().o() + minModality; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const int &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Data/AugmentedData.cpp -o lib/Data/AugmentedData.o In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 12 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Composer/MixtureComposer.cpp -o lib/Composer/MixtureComposer.o In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const unsigned long &, const unsigned long &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const unsigned long &, const unsigned long &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Composer/MixtureComposer.h:278:88: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 278 | NamedVector dataCompleted { std::vector(), zClassInd_.zi().data_ + minModality }; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const unsigned long &, const unsigned long &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: lib/Composer/MixtureComposer.h:291:9: warning: unused variable 'nObs' [-Wunused-variable] 291 | Index nObs = paramStat_.getStatStorage().cols(); | ^~~~ In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Data/AugmentedData.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Composer/ClassDataStat.cpp -o lib/Composer/ClassDataStat.o In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const int &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Mixture/Rank/RankISRMixture.h:275:46: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 275 | exportData.mat_.row(i) = data_(i).x().o() + minModality; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const int &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded &, Eigen::MatrixBase>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:112:14: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 112 | paramStat_.sampleParam(iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeSEMRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:66:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 66 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:28:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 28 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(monostate, monostate) noexcept { return true; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1256:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1256 | operator==(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1361:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1361 | operator==(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1371:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1371 | operator==(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1473:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1473 | operator==(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1485:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1485 | operator==(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1650:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1650 | constexpr bool operator==(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:86:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 86 | operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:105:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 105 | bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:255:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 255 | bool operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:1988:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 1988 | operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2746:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2746 | operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:310:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 310 | auto operator-(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:337:1: note: candidate template ignored: could not match 'move_iterator<_Iter>' against 'difference_type' (aka 'int') 337 | operator+(typename move_iterator<_Iter>::difference_type __n, const move_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, std::__less &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:112:14: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 112 | paramStat_.sampleParam(iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeSEMRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:66:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 66 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:38:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 38 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(monostate, monostate) noexcept { return false; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1272:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1272 | operator!=(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1379:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1379 | operator!=(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1387:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1387 | operator!=(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1497:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1497 | operator!=(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1509:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1509 | operator!=(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1681:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1681 | constexpr bool operator!=(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:96:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 96 | operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:112:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 112 | bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:263:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2010:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2010 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2772:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2772 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, std::__less &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:112:14: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 112 | paramStat_.sampleParam(iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeSEMRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:66:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 66 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:28:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 28 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(monostate, monostate) noexcept { return true; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1256:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1256 | operator==(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1361:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1361 | operator==(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1371:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Iterator' 1371 | operator==(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1473:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1473 | operator==(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1485:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Iterator' 1485 | operator==(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1650:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1650 | constexpr bool operator==(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:86:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 86 | operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:105:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 105 | bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:255:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 255 | bool operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:1988:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 1988 | operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2746:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2746 | operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:38:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 38 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(monostate, monostate) noexcept { return false; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1272:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1272 | operator!=(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1379:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1379 | operator!=(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1387:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1387 | operator!=(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1497:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1497 | operator!=(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1509:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1509 | operator!=(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1681:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1681 | constexpr bool operator!=(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:96:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 96 | operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:112:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 112 | bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:263:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2010:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2010 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2772:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2772 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded &, Eigen::MatrixBase>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:120:13: note: in instantiation of member function 'mixt::ConfIntDataStat::sampleVals' requested here 120 | dataStat_.sampleVals(sample, iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeGibbsRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:70:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 70 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:28:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 28 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(monostate, monostate) noexcept { return true; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1256:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1256 | operator==(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1361:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1361 | operator==(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1371:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1371 | operator==(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1473:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1473 | operator==(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1485:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1485 | operator==(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1650:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1650 | constexpr bool operator==(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:86:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 86 | operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:105:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 105 | bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:255:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 255 | bool operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:1988:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 1988 | operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2746:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2746 | operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:310:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 310 | auto operator-(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:337:1: note: candidate template ignored: could not match 'move_iterator<_Iter>' against 'difference_type' (aka 'int') 337 | operator+(typename move_iterator<_Iter>::difference_type __n, const move_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, std::__less &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:120:13: note: in instantiation of member function 'mixt::ConfIntDataStat::sampleVals' requested here 120 | dataStat_.sampleVals(sample, iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeGibbsRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:70:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 70 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:38:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 38 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(monostate, monostate) noexcept { return false; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1272:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1272 | operator!=(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1379:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1379 | operator!=(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1387:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1387 | operator!=(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1497:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1497 | operator!=(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1509:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1509 | operator!=(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1681:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1681 | constexpr bool operator!=(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:96:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 96 | operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:112:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 112 | bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:263:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2010:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2010 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2772:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2772 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, std::__less &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:120:13: note: in instantiation of member function 'mixt::ConfIntDataStat::sampleVals' requested here 120 | dataStat_.sampleVals(sample, iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeGibbsRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:70:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 70 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:28:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 28 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(monostate, monostate) noexcept { return true; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1256:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1256 | operator==(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1361:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1361 | operator==(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1371:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Iterator' 1371 | operator==(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1473:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1473 | operator==(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1485:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Iterator' 1485 | operator==(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1650:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1650 | constexpr bool operator==(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:86:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 86 | operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:105:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 105 | bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:255:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 255 | bool operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:1988:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 1988 | operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2746:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2746 | operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:38:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 38 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(monostate, monostate) noexcept { return false; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1272:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1272 | operator!=(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1379:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1379 | operator!=(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1387:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1387 | operator!=(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1497:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1497 | operator!=(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1509:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1509 | operator!=(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1681:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1681 | constexpr bool operator!=(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:96:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 96 | operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:112:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 112 | bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:263:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2010:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2010 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2772:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2772 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:124:22: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 124 | (*this) = derived() + scalar; | ^ lib/Mixture/Simple/SimpleMixture.h:165:17: note: in instantiation of member function 'Eigen::MatrixBase>::operator+=' requested here 165 | dataOut.vec_ += minModality; | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::exportDataParam' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:70:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 70 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded &, Eigen::MatrixBase>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:120:13: note: in instantiation of member function 'mixt::ConfIntDataStat::sampleVals' requested here 120 | dataStat_.sampleVals(sample, iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeGibbsRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:74:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 74 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:28:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 28 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(monostate, monostate) noexcept { return true; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1256:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1256 | operator==(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1361:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1361 | operator==(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1371:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1371 | operator==(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1473:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1473 | operator==(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1485:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1485 | operator==(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1650:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1650 | constexpr bool operator==(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:86:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 86 | operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:105:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 105 | bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:255:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 255 | bool operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:1988:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 1988 | operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2746:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2746 | operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const int') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:310:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 310 | auto operator-(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const int') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:337:1: note: candidate template ignored: could not match 'move_iterator<_Iter>' against 'difference_type' (aka 'int') 337 | operator+(typename move_iterator<_Iter>::difference_type __n, const move_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, std::__less &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:120:13: note: in instantiation of member function 'mixt::ConfIntDataStat::sampleVals' requested here 120 | dataStat_.sampleVals(sample, iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeGibbsRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:74:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 74 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:38:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 38 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(monostate, monostate) noexcept { return false; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1272:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1272 | operator!=(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1379:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1379 | operator!=(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1387:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1387 | operator!=(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1497:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1497 | operator!=(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1509:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1509 | operator!=(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1681:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1681 | constexpr bool operator!=(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:96:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 96 | operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:112:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 112 | bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:263:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2010:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2010 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2772:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2772 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, std::__less &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Simple/SimpleMixture.h:120:13: note: in instantiation of member function 'mixt::ConfIntDataStat::sampleVals' requested here 120 | dataStat_.sampleVals(sample, iteration, iterationMax); | ^ lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture::storeGibbsRun' requested here 46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:74:21: note: in instantiation of member function 'mixt::SimpleMixture::SimpleMixture' requested here 74 | p_mixture = new SimpleMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:28:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 28 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(monostate, monostate) noexcept { return true; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1256:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1256 | operator==(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1361:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1361 | operator==(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1371:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Iterator' 1371 | operator==(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1473:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1473 | operator==(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1485:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Iterator' 1485 | operator==(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1650:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1650 | constexpr bool operator==(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:86:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 86 | operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:105:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 105 | bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:255:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 255 | bool operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:1988:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 1988 | operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2746:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2746 | operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from rmc.cpp:24: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet2/ripley/R/test-flang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__variant/monostate.h:38:38: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'monostate' for 1st argument 38 | _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(monostate, monostate) noexcept { return false; } | ^ ~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1272:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1272 | operator!=(const optional<_Tp>& __x, const optional<_Up>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1379:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1379 | operator!=(const optional<_Tp>& __x, nullopt_t) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1387:1: note: candidate template ignored: could not match 'optional<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1387 | operator!=(nullopt_t, const optional<_Tp>& __x) noexcept | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1497:1: note: candidate template ignored: could not match 'const optional<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1497 | operator!=(const optional<_Tp>& __x, const _Up& __v) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/optional:1509:1: note: candidate template ignored: could not match 'optional<_Up>' against 'Eigen::MatrixBase>::Iterator' 1509 | operator!=(const _Tp& __v, const optional<_Up>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/variant:1681:16: note: candidate template ignored: could not match 'const variant<_Types...>' against 'const Eigen::MatrixBase>::Iterator' 1681 | constexpr bool operator!=(const variant<_Types...>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:96:1: note: candidate template ignored: could not match 'const istream_iterator<_Tp, _CharT, _Traits, _Distance>' against 'const Eigen::MatrixBase>::Iterator' 96 | operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:112:6: note: candidate template ignored: could not match 'const istreambuf_iterator<_CharT, _Traits>' against 'const Eigen::MatrixBase>::Iterator' 112 | bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:263:6: note: candidate template ignored: could not match 'const move_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2010:1: note: candidate template ignored: could not match 'const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2010 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2772:1: note: candidate template ignored: could not match 'const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'const Eigen::MatrixBase>::Iterator' 2772 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from rmc.cpp:26: In file included from lib/Run/Learn.h:26: In file included from lib/Composer/MixtureComposer.h:28: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const int &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:131:22: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 131 | (*this) = derived() - scalar; | ^ lib/Mixture/Rank/RankISRMixture.h:216:15: note: in instantiation of member function 'Eigen::MatrixBase>::operator-=' requested here 216 | rank.mat_ -= minModality; | ^ lib/Mixture/Rank/RankISRMixture.h:48:2: note: in instantiation of member function 'mixt::RankISRMixture::setDataParam' requested here 48 | RankISRMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nClass, Index nObs, Real confidenceLevel, const std::string& paramStr) : | ^ lib/Manager/createAllMixtures.h:94:21: note: in instantiation of member function 'mixt::RankISRMixture::RankISRMixture' requested here 94 | p_mixture = new RankISRMixture(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr); | ^ lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures' requested here 55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer); | ^ rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn' requested here 47 | learn(algoRG, dataRG, descRG, resRG); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const int &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 14 warnings and 18 errors generated. In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:198: rmc.o] Error 1 /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Composer/ClassSampler.cpp -o lib/Composer/ClassSampler.o In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassDataStat.cpp:23: In file included from lib/Composer/ClassDataStat.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ClassSampler.cpp:23: In file included from lib/Composer/ClassSampler.h:26: In file included from lib/Composer/ZClassInd.h:27: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Composer/ClassSampler.cpp:56:28: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here 56 | modalities = modalities / modalities.sum(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 10 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Composer/ZClassInd.cpp -o lib/Composer/ZClassInd.o In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const unsigned long &, const unsigned long &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const unsigned long &, const unsigned long &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Composer/MixtureComposer.h:278:88: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 278 | NamedVector dataCompleted { std::vector(), zClassInd_.zi().data_ + minModality }; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const unsigned long &, const unsigned long &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Composer/MixtureComposer.cpp:33: lib/Composer/MixtureComposer.h:291:9: warning: unused variable 'nObs' [-Wunused-variable] 291 | Index nObs = paramStat_.getStatStorage().cols(); | ^~~~ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Statistic/GaussianStatistic.cpp -o lib/Statistic/GaussianStatistic.o In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Composer/MixtureComposer.cpp:237:16: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here 237 | prop_ = prop_ / prop_.sum(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const CwiseNullaryOp, Matrix>, Matrix>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Matrix, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Composer/MixtureComposer.cpp:532:13: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Matrix>' requested here 532 | delta = 1. - delta; // follow the formula from the pdf | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/ZClassInd.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Composer/MixtureComposer.cpp:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, Eigen::Block, 1>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, Block, 1, -1, false>>>' required here 95 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, Eigen::Block, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^ lib/LinAlg/EigenMatrixBaseAddons.h:270:24: note: in instantiation of template class 'Eigen::CwiseUnaryOp, Eigen::Block, 1>>' requested here 270 | derived() = derived().expE(); | ^ lib/Composer/MixtureComposer.cpp:75:25: note: in instantiation of function template specialization 'Eigen::MatrixBase, 1>>::logToMulti, 1>>' requested here 75 | observedTikMat.row(i).logToMulti(lnComp.row(i)); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Composer/MixtureComposer.cpp:25: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded &, Eigen::MatrixBase>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 70 | currRow.sort(); | ^ lib/Composer/MixtureComposer.cpp:334:14: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 334 | paramStat_.sampleParam(iteration, iterationMax); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Composer/MixtureComposer.cpp:25: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:61:11: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 61 | streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from lib/Composer/MixtureComposer.cpp:25: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from lib/Composer/MixtureComposer.cpp:25: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, std::__less &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 70 | currRow.sort(); | ^ lib/Composer/MixtureComposer.cpp:334:14: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 334 | paramStat_.sampleParam(iteration, iterationMax); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from lib/Composer/MixtureComposer.cpp:25: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, std::__less &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 70 | currRow.sort(); | ^ lib/Composer/MixtureComposer.cpp:334:14: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 334 | paramStat_.sampleParam(iteration, iterationMax); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Composer/MixtureComposer.cpp:25: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ 14 warnings and 6 errors generated. make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:198: lib/Composer/MixtureComposer.o] Error 1 /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Statistic/RNG.cpp -o lib/Statistic/RNG.o In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/RNG.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Statistic/UniformStatistic.cpp -o lib/Statistic/UniformStatistic.o In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/GaussianStatistic.cpp:27: In file included from lib/Statistic/GaussianStatistic.h:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. In file included from lib/Statistic/UniformStatistic.cpp:27: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Statistic/UniformIntStatistic.cpp -o lib/Statistic/UniformIntStatistic.o In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/UniformIntStatistic.cpp:24: In file included from lib/Statistic/UniformIntStatistic.h:29: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Statistic/MultinomialStatistic.cpp -o lib/Statistic/MultinomialStatistic.o In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/MultinomialStatistic.cpp:23: In file included from lib/Statistic/RNG.h:29: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Statistic/ExponentialStatistic.cpp -o lib/Statistic/ExponentialStatistic.o In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Statistic/ExponentialStatistic.cpp:27: In file included from lib/Statistic/ExponentialStatistic.h:26: In file included from lib/Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Functional/FunctionCS.cpp -o lib/Mixture/Functional/FunctionCS.o In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Functional/FuncCSComputation.cpp -o lib/Mixture/Functional/FuncCSComputation.o In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Mixture/Functional/FunctionCS.cpp:224:14: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here 224 | prop = prop / prop.sum(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, Matrix>>' required here 95 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, Eigen::Matrix, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^ lib/LinAlg/EigenMatrixBaseAddons.h:290:24: note: in instantiation of template class 'Eigen::CwiseUnaryOp, Eigen::Matrix>' requested here 290 | Derived exp(derived().expE()); | ^ lib/Mixture/Functional/FuncCSComputation.h:57:8: note: in instantiation of member function 'Eigen::MatrixBase>::logProbaToLogMulti' requested here 57 | kappa.logProbaToLogMulti(logValue); | ^ lib/Mixture/Functional/FunctionCS.cpp:58:3: note: in instantiation of function template specialization 'mixt::logKappaMatrix>' requested here 58 | logKappaMatrix(t_(i), alpha, currLogKappa); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:131:22: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 131 | (*this) = derived() - scalar; | ^ lib/LinAlg/EigenMatrixBaseAddons.h:288:12: note: in instantiation of member function 'Eigen::MatrixBase>::operator-=' requested here 288 | derived() -= max; | ^ lib/Mixture/Functional/FuncCSComputation.h:57:8: note: in instantiation of member function 'Eigen::MatrixBase>::logProbaToLogMulti' requested here 57 | kappa.logProbaToLogMulti(logValue); | ^ lib/Mixture/Functional/FunctionCS.cpp:58:3: note: in instantiation of function template specialization 'mixt::logKappaMatrix>' requested here 58 | logKappaMatrix(t_(i), alpha, currLogKappa); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block, 1>, const Eigen::Block, 1>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Block, 1, -1, false>, const Block, 1, -1, false>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Block, 1>, const Eigen::Block, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Dot.h:37:23: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Block, 1>, const Eigen::Block, 1>>' requested here 37 | return a.template binaryExpr(b).sum(); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Dot.h:84:55: note: in instantiation of member function 'Eigen::internal::dot_nocheck, 1>, Eigen::Block, 1>>::run' requested here 84 | return internal::dot_nocheck::run(*this, other); | ^ lib/Mixture/Functional/FunctionCS.cpp:62:47: note: in instantiation of function template specialization 'Eigen::MatrixBase, 1>>::dot, 1>>' requested here 62 | Real currExpectation = vandermonde_.row(i).dot(beta.row(s)); // since the completed probability is computed, only the current subregression is taken into account in the computation | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, Eigen::Block, 1>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, Block, 1, -1, false>>>' required here 95 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, Eigen::Block, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^ lib/Mixture/Functional/FuncCSComputation.cpp:69:48: note: in instantiation of template class 'Eigen::CwiseUnaryOp, Eigen::Block, 1>>' requested here 69 | logSumExpValue(j) = std::log(logValue.row(j).expE().sum()); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded &, Eigen::MatrixBase>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Functional/FunctionCS.cpp:237:10: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 237 | sortedT.sort(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:61:11: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 61 | streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, std::__less &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Functional/FunctionCS.cpp:237:10: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 237 | sortedT.sort(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, std::__less &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Functional/FunctionCS.cpp:237:10: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 237 | sortedT.sort(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FunctionCS.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ 13 warnings and 6 errors generated. make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:198: lib/Mixture/Functional/FunctionCS.o] Error 1 /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Functional/FuncCSClass.cpp -o lib/Mixture/Functional/FuncCSClass.o In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Transpose>, 1, -1, true>>, const Eigen::Block, -1, 1, true>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Transpose>, 1, -1, true>>, const Block, -1, 1, true>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Transpose>, 1, -1, true>>, const Eigen::Block, -1, 1, true>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:578:40: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Transpose>, 1, -1, true>>, const Eigen::Block, -1, 1, true>>' requested here 578 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:631:58: note: (skipping 41 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 631 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:341:5: note: in instantiation of function template specialization 'Eigen::MatrixBase, 1>>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 341 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl_dense) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:161:5: note: in instantiation of function template specialization 'Eigen::internal::BlockImpl_dense, 1>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 161 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:111:5: note: in instantiation of function template specialization 'Eigen::BlockImpl, 1, -1, false, Eigen::Dense>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 111 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ lib/Mixture/Functional/FuncCSComputation.h:86:7: note: in instantiation of function template specialization 'Eigen::Block, 1>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 86 | beta = (design.transpose() * design).inverse() * design.transpose() * y; // normal equation to get the coefficient beta | ^ lib/Mixture/Functional/FuncCSComputation.cpp:49:3: note: in instantiation of function template specialization 'mixt::regression, 1>>' requested here 49 | regression(design(p), y(p), beta.row(p), sd(p)); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix>>' required here 95 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Matrix, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:523:22: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Matrix>' requested here 523 | m_l1_norm = m_lu.cwiseAbs().colwise().sum().maxCoeff(); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:131:7: note: (skipping 32 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 131 | compute(); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:341:5: note: in instantiation of function template specialization 'Eigen::MatrixBase, 1>>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 341 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl_dense) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:161:5: note: in instantiation of function template specialization 'Eigen::internal::BlockImpl_dense, 1>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 161 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:111:5: note: in instantiation of function template specialization 'Eigen::BlockImpl, 1, -1, false, Eigen::Dense>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 111 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ lib/Mixture/Functional/FuncCSComputation.h:86:7: note: in instantiation of function template specialization 'Eigen::Block, 1>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 86 | beta = (design.transpose() * design).inverse() * design.transpose() * y; // normal equation to get the coefficient beta | ^ lib/Mixture/Functional/FuncCSComputation.cpp:49:3: note: in instantiation of function template specialization 'mixt::regression, 1>>' requested here 49 | regression(design(p), y(p), beta.row(p), sd(p)); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block>>, -1, 1, true>, -1, 1>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Block, 0, Stride<0, 0>>, -1, -1, false>, -1, 1, true>, -1, 1, false>>>' required here 95 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Block>>, -1, 1, true>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:381:34: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Block>>, -1, 1, true>, -1, 1>>' requested here 381 | = lu.col(k).tail(rows-k).unaryExpr(Scoring()).maxCoeff(&row_of_biggest_in_col); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:436:14: note: (skipping 35 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 436 | return unblocked_lu(lu, row_transpositions, nb_transpositions); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:341:5: note: in instantiation of function template specialization 'Eigen::MatrixBase, 1>>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 341 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl_dense) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:161:5: note: in instantiation of function template specialization 'Eigen::internal::BlockImpl_dense, 1>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 161 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Block.h:111:5: note: in instantiation of function template specialization 'Eigen::BlockImpl, 1, -1, false, Eigen::Dense>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 111 | EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block) | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' 872 | EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' 841 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } | ^ lib/Mixture/Functional/FuncCSComputation.h:86:7: note: in instantiation of function template specialization 'Eigen::Block, 1>::operator=>, Eigen::Matrix>>, Eigen::Transpose>>, Eigen::Matrix>>' requested here 86 | beta = (design.transpose() * design).inverse() * design.transpose() * y; // normal equation to get the coefficient beta | ^ lib/Mixture/Functional/FuncCSComputation.cpp:49:3: note: in instantiation of function template specialization 'mixt::regression, 1>>' requested here 49 | regression(design(p), y(p), beta.row(p), sd(p)); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block, 1>, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Block, 1, -1, false>, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Block, 1>, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:131:22: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Block, 1>, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 131 | (*this) = derived() - scalar; | ^ lib/Mixture/Functional/FuncCSComputation.cpp:68:19: note: in instantiation of member function 'Eigen::MatrixBase, 1>>::operator-=' requested here 68 | logValue.row(j) -= logValue.row(j).maxCoeff(); // ... because the individual logs need to be translated too | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:24: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:272:24: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here 272 | derived() = derived() / sum; | ^ lib/Mixture/Functional/FuncCSComputation.cpp:254:8: note: in instantiation of function template specialization 'Eigen::MatrixBase>::logToMulti>' requested here 254 | pWGX.logToMulti(lpXW); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded &, Eigen::MatrixBase>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Functional/FuncCSComputation.cpp:305:10: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 305 | globalT.sort(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:61:11: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 61 | streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, std::__less &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Functional/FuncCSComputation.cpp:305:10: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 305 | globalT.sort(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, std::__less &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Mixture/Functional/FuncCSComputation.cpp:305:10: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 305 | globalT.sort(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23: In file included from lib/IO/IO.h:26: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/iostream:43: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/ios:222: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__locale:21: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/mutex:192: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/system_error.h:14: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_category.h:15: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'const shared_ptr<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'Eigen::MatrixBase>::Iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ 15 warnings and 6 errors generated. make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:198: lib/Mixture/Functional/FuncCSComputation.o] Error 1 /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Functional/FunctionCSParser.cpp -o lib/Mixture/Functional/FunctionCSParser.o In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const CwiseNullaryOp, const Matrix>, const Matrix>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ optim/include/cppoptlib/solver/bfgssolver.h:28:36: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>' requested here 28 | TVector searchDir = -1 * H * grad; | ^ lib/Mixture/Functional/FuncCSClass.cpp:72:9: note: in instantiation of member function 'cppoptlib::BfgsSolver::minimize' requested here 72 | solver.minimize(fp, alpha); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseBinaryOp, const CwiseNullaryOp, const Matrix>, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ optim/include/cppoptlib/solver/bfgssolver.h:40:21: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>>' requested here 40 | x0 = x0 + rate * searchDir; | ^ lib/Mixture/Functional/FuncCSClass.cpp:72:9: note: in instantiation of member function 'cppoptlib::BfgsSolver::minimize' requested here 72 | solver.minimize(fp, alpha); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const Matrix>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ optim/include/cppoptlib/solver/bfgssolver.h:45:30: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>' requested here 45 | TVector y = grad - grad_old; | ^ lib/Mixture/Functional/FuncCSClass.cpp:72:9: note: in instantiation of member function 'cppoptlib::BfgsSolver::minimize' requested here 72 | solver.minimize(fp, alpha); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const Matrix>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Dot.h:37:23: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>' requested here 37 | return a.template binaryExpr(b).sum(); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Dot.h:84:55: note: in instantiation of member function 'Eigen::internal::dot_nocheck, Eigen::Matrix>::run' requested here 84 | return internal::dot_nocheck::run(*this, other); | ^ optim/include/cppoptlib/solver/bfgssolver.h:30:31: note: in instantiation of function template specialization 'Eigen::MatrixBase>::dot>' requested here 30 | Scalar phi = grad.dot(searchDir); | ^ lib/Mixture/Functional/FuncCSClass.cpp:72:9: note: in instantiation of member function 'cppoptlib::BfgsSolver::minimize' requested here 72 | solver.minimize(fp, alpha); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const CwiseBinaryOp, const Matrix, const Matrix>>>' required here 95 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Dot.h:244:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>>' requested here 244 | return m.cwiseAbs().maxCoeff(); | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/Dot.h:269:49: note: in instantiation of member function 'Eigen::internal::lpNorm_selector, const Eigen::Matrix, const Eigen::Matrix>, -1>::run' requested here 269 | return internal::lpNorm_selector::run(*this); | ^ optim/include/cppoptlib/solver/bfgssolver.h:52:37: note: in instantiation of function template specialization 'Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Matrix>>::lpNorm<-1>' requested here 52 | if( (x_old-x0).template lpNorm() < 1e-7 ) | ^ lib/Mixture/Functional/FuncCSClass.cpp:72:9: note: in instantiation of member function 'cppoptlib::BfgsSolver::minimize' requested here 72 | solver.minimize(fp, alpha); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Functional/FunctionCSParser.cpp:27: In file included from lib/Mixture/Functional/FunctionCSParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded &, Eigen::MatrixBase>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 70 | currRow.sort(); | ^ lib/Mixture/Functional/FuncCSClass.cpp:132:18: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 132 | alphaParamStat_.sampleParam(iteration, iterationMax); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:61:11: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 61 | streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& _In file included from _ylib/Mixture/Functional/FunctionCSParser.cpp): 27 : | In file included from ^lib/Mixture/Functional/FunctionCSParser.h :26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.hIn file included from :/data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU194::476: :/data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h :note: 14candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator': 33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 194 | aut o14 | o p e r a#tporra-g(mcao ncslta n_g_ wdriaapg_niotsetri| & ^ __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const double') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from lib/Mixture/Functional/FunctionCSParser.cpp:27: In file included from lib/Mixture/Functional/FunctionCSParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, std::__less &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 70 | currRow.sort(); | ^ lib/Mixture/Functional/FuncCSClass.cpp:132:18: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 132 | alphaParamStat_.sampleParam(iteration, iterationMax); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, std::__less &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort &, Eigen::MatrixBase>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, std::__less>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, std::__less>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort>::Iterator, std::__less>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort>::Iterator>' requested here 239 | std::sort(derived().begin(), derived().end()); | ^ lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase>::sort' requested here 70 | currRow.sort(); | ^ lib/Mixture/Functional/FuncCSClass.cpp:132:18: note: in instantiation of member function 'mixt::ConfIntParamStat>::sampleParam' requested here 132 | alphaParamStat_.sampleParam(iteration, iterationMax); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FuncCSClass.cpp:23: In file included from lib/Mixture/Functional/FuncCSClass.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:In file included from lib/Mixture/Functional/FunctionCSParser.cpp:27: In file included from lib/Mixture/Functional/FunctionCSParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from lib/Mixture/Functional/FunctionCSParser.cpp:27: In file included from lib/Mixture/Functional/FunctionCSParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCSParser.cpp:27: In file included from lib/Mixture/Functional/FunctionCSParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 14 warnings and 6 errors generated. make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:198: lib/Mixture/Functional/FuncCSClass.o] Error 1 In file included from lib/Mixture/Functional/FunctionCSParser.cpp:27: In file included from lib/Mixture/Functional/FunctionCSParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCSParser.cpp:27: In file included from lib/Mixture/Functional/FunctionCSParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Functional/FunctionCSParser.cpp:27: In file included from lib/Mixture/Functional/FunctionCSParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp -o lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.o In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp:26: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp -o lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.o In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp:29: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp -o lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.o In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp:23: In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp -o lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.o In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp -o lib/Mixture/Simple/Multinomial/MultinomialDataStat.o In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);}); | ^ lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:56:15: note: in instantiation of function template specialization 'Eigen::MatrixBase>::sortIndex>' requested here 56 | stat_(ind).sortIndex(indOrder); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const int') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:61:11: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 61 | streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const int') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);}); | ^ lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:56:15: note: in instantiation of function template specialization 'Eigen::MatrixBase>::sortIndex>' requested here 56 | stat_(ind).sortIndex(indOrder); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);}); | ^ lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:56:15: note: in instantiation of function template specialization 'Eigen::MatrixBase>::sortIndex>' requested here 56 | stat_(ind).sortIndex(indOrder); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23: In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ 9 warnings and 6 errors generated. make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:198: lib/Mixture/Simple/Multinomial/MultinomialDataStat.o] Error 1 /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp -o lib/Mixture/Simple/Multinomial/MultinomialSampler.o In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp:81:33: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here 81 | modalities = modalities / modalities.sum(); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 10 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Multinomial/Multinomial.cpp -o lib/Mixture/Simple/Multinomial/Multinomial.o In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Multinomial/Multinomial.cpp:25: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/Mixture/Simple/Multinomial/Multinomial.cpp:66:27: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here 66 | modalities = modalities / Real(classInd(k).size()); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 10 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp -o lib/Mixture/Simple/Weibull/WeibullLikelihood.o In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullLikelihood.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Weibull/Weibull.cpp -o lib/Mixture/Simple/Weibull/Weibull.o In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/Weibull.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Weibull/WeibullSampler.cpp -o lib/Mixture/Simple/Weibull/WeibullSampler.o /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Weibull/WeibullStatistic.cpp -o lib/Mixture/Simple/Weibull/WeibullStatistic.o In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.cpp:23: In file included from lib/Mixture/Simple/Weibull/WeibullStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/UniformStatistic.h:26: In file included from lib/Mixture/Simple/Weibull/../../../Statistic/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Poisson/PoissonStatistic.cpp -o lib/Mixture/Simple/Poisson/PoissonStatistic.o In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Poisson/PoissonSampler.cpp -o lib/Mixture/Simple/Poisson/PoissonSampler.o In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonStatistic.cpp:27: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Poisson/Poisson.cpp -o lib/Mixture/Simple/Poisson/Poisson.o 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp -o lib/Mixture/Simple/Poisson/PoissonLikelihood.o In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/Poisson.cpp:23: In file included from lib/Mixture/Simple/Poisson/Poisson.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp:23: In file included from lib/Mixture/Simple/Poisson/PoissonLikelihood.h:26: In file included from lib/Mixture/Simple/Poisson/../../../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp -o lib/Mixture/Simple/Gaussian/GaussianLikelihood.o 9 warnings generated. In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp:23: In file included from lib/Mixture/Simple/Gaussian/GaussianLikelihood.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Gaussian/GaussianSampler.cpp -o lib/Mixture/Simple/Gaussian/GaussianSampler.o /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Simple/Gaussian/Gaussian.cpp -o lib/Mixture/Simple/Gaussian/Gaussian.o In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/Gaussian.cpp:23: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Simple/Gaussian/GaussianSampler.cpp:23: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Rank/RankISRParser.cpp -o lib/Mixture/Rank/RankISRParser.o In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRParser.cpp:24: In file included from lib/Mixture/Rank/RankISRParser.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Rank/RankVal.cpp -o lib/Mixture/Rank/RankVal.o In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankVal.cpp:23: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const int &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const Matrix>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/MatrixBase.h:289:14: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>' requested here 289 | { return cwiseEqual(other).all(); } | ^ lib/Mixture/Rank/RankVal.cpp:57:19: note: in instantiation of function template specialization 'Eigen::MatrixBase>::operator==>' requested here 57 | if (rv.ordering_ == ordering_) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const int &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 10 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Rank/RankISRStat.cpp -o lib/Mixture/Rank/RankISRStat.o In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded>::Iterator>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);}); | ^ lib/Mixture/Rank/RankISRStat.cpp:69:6: note: in instantiation of function template specialization 'Eigen::MatrixBase>::sortIndex>' requested here 69 | nb.sortIndex(index); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:145:103: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const int') for 1st argument 145 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator-(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:61:11: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 61 | streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:78:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 78 | Iterator operator-(int i) { | ^ lib/LinAlg/Iterator.h:86:6: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 86 | int operator-(const Iterator &it) { return pos() - it.pos(); } | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'difference_type' (aka 'int')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ lib/LinAlg/EigenMatrixBaseAddons.h:140:96: note: candidate function not viable: no known conversion from 'const Eigen::MatrixBase>::Iterator' to 'const Scalar' (aka 'const int') for 1st argument 140 | friend const CwiseBinaryOp, const ConstantReturnType, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'int') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'int') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:60:11: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 60 | Iterator operator+(int i) { | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);}); | ^ lib/Mixture/Rank/RankISRStat.cpp:69:6: note: in instantiation of function template specialization 'Eigen::MatrixBase>::sortIndex>' requested here 69 | nb.sortIndex(index); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here 249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);}); | ^ lib/Mixture/Rank/RankISRStat.cpp:69:6: note: in instantiation of function template specialization 'Eigen::MatrixBase>::sortIndex>' requested here 69 | nb.sortIndex(index); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:100:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 100 | bool operator==(const Iterator &it) { | ^ In file included from lib/Mixture/Rank/RankISRStat.cpp:23: In file included from lib/Mixture/Rank/RankISRStat.h:26: In file included from lib/Mixture/Rank/RankVal.h:26: In file included from lib/LinAlg/LinAlg.h:26: In file included from lib/LinAlg/Typedef.h:27: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string:622: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/string_view:1059: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const Eigen::MatrixBase>::Iterator' and 'Eigen::MatrixBase>::Iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'const pair<_T1, _T2>' against 'const Eigen::MatrixBase>::Iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'const fpos<_StateT>' against 'const Eigen::MatrixBase>::Iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match 'const __wrap_iter<_Iter1>' against 'const Eigen::MatrixBase>::Iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'const allocator<_Tp>' against 'const Eigen::MatrixBase>::Iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'const tuple<_Tp...>' against 'const Eigen::MatrixBase>::Iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'Eigen::MatrixBase>::Iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'const unique_ptr<_T1, _D1>' against 'const Eigen::MatrixBase>::Iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr<_T1, _D1>' against 'Eigen::MatrixBase>::Iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ lib/LinAlg/Iterator.h:127:7: note: candidate function not viable: 'this' argument has type 'const Eigen::MatrixBase>::Iterator', but method is not marked const 127 | bool operator!=(const Iterator &it) { | ^ 9 warnings and 6 errors generated. make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:198: lib/Mixture/Rank/RankISRStat.o] Error 1 /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Rank/RankISRIndividual.cpp -o lib/Mixture/Rank/RankISRIndividual.o In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, Matrix>>' required here 95 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, Eigen::Matrix, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^ lib/LinAlg/EigenMatrixBaseAddons.h:270:24: note: in instantiation of template class 'Eigen::CwiseUnaryOp, Eigen::Matrix>' requested here 270 | derived() = derived().expE(); | ^ lib/Mixture/Rank/RankISRIndividual.cpp:229:10: note: in instantiation of function template specialization 'Eigen::MatrixBase>::logToMulti>' requested here 229 | proba.logToMulti(logProba); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:272:24: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here 272 | derived() = derived() / sum; | ^ lib/Mixture/Rank/RankISRIndividual.cpp:229:10: note: in instantiation of function template specialization 'Eigen::MatrixBase>::logToMulti>' requested here 229 | proba.logToMulti(logProba); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Rank/RankISRIndividual.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:131:22: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 131 | (*this) = derived() - scalar; | ^ lib/LinAlg/EigenMatrixBaseAddons.h:269:12: note: in instantiation of member function 'Eigen::MatrixBase>::operator-=' requested here 269 | derived() -= max; | ^ lib/Mixture/Rank/RankISRIndividual.cpp:229:10: note: in instantiation of function template specialization 'Eigen::MatrixBase>::logToMulti>' requested here 229 | proba.logToMulti(logProba); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 12 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Mixture/Rank/RankISRClass.cpp -o lib/Mixture/Rank/RankISRClass.o /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Various/Various.cpp -o lib/Various/Various.o In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, Eigen::Matrix>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, Matrix>>' required here 95 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, Eigen::Matrix, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^ lib/LinAlg/EigenMatrixBaseAddons.h:270:24: note: in instantiation of template class 'Eigen::CwiseUnaryOp, Eigen::Matrix>' requested here 270 | derived() = derived().expE(); | ^ lib/Mixture/Rank/RankISRClass.cpp:98:20: note: in instantiation of function template specialization 'Eigen::MatrixBase>::logToMulti>' requested here 98 | logProba = dummy.logToMulti(allCompletedProba); // compute the observed logproba by summing all the completed logproba | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, const Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:272:24: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here 272 | derived() = derived() / sum; | ^ lib/Mixture/Rank/RankISRClass.cpp:98:20: note: in instantiation of function template specialization 'Eigen::MatrixBase>::logToMulti>' requested here 98 | logProba = dummy.logToMulti(allCompletedProba); // compute the observed logproba by summing all the completed logproba | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Mixture/Rank/RankISRClass.cpp:23: In file included from lib/Mixture/Rank/RankISRClass.h:26: In file included from lib/Mixture/IMixture.h:27: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:367: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of::type type1; | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here 497 | template::XprKind, typename StorageKind = typename traits::StorageKind> | ^ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Matrix, const CwiseNullaryOp, Matrix>>>' required here 149 | : public internal::generic_xpr_base >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ lib/LinAlg/EigenMatrixBaseAddons.h:131:22: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here 131 | (*this) = derived() - scalar; | ^ lib/LinAlg/EigenMatrixBaseAddons.h:269:12: note: in instantiation of member function 'Eigen::MatrixBase>::operator-=' requested here 269 | derived() -= max; | ^ lib/Mixture/Rank/RankISRClass.cpp:98:20: note: in instantiation of function template specialization 'Eigen::MatrixBase>::logToMulti>' requested here 98 | logProba = dummy.logToMulti(allCompletedProba); // compute the observed logproba by summing all the completed logproba | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:934:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 934 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__config:907:49: note: expanded from macro '_LIBCPP_DEPRECATED' 907 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Various.cpp:23: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Various/Timer.cpp -o lib/Various/Timer.o 12 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/Various/Constants.cpp -o lib/Various/Constants.o In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/Various/Constants.cpp:27: In file included from lib/Various/Constants.h:26: In file included from lib/Various/../LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ lib/Various/Timer.cpp:56:8: warning: unused variable 'timePerIt' [-Wunused-variable] 56 | Real timePerIt = dt.total_milliseconds() / 1000. / Real(iteration); | ^~~~~~~~~ lib/Various/Timer.cpp:71:7: warning: unused variable 'sinceCreation' [-Wunused-variable] 71 | Real sinceCreation = dtCreation.total_milliseconds() / 1000.; | ^~~~~~~~~~~~~ 9 warnings generated. 2 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/IO/SpecialStr.cpp -o lib/IO/SpecialStr.o /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/IO/IOFunctions.cpp -o lib/IO/IOFunctions.o In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/IO/IOFunctions.cpp:23: In file included from lib/IO/IOFunctions.h:26: In file included from lib/Data/AugmentedData.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/LinAlg/Typedef.cpp -o lib/LinAlg/Typedef.o /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/LinAlg/names.cpp -o lib/LinAlg/names.o In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/names.cpp:23: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. /usr/local/clang-trunk/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet2/ripley/R/test-flang/Rcpp/include' -I'/data/gannet2/ripley/R/test-flang/RcppEigen/include' -I'/data/gannet2/ripley/R/test-flang/BH/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c lib/LinAlg/Maths.cpp -o lib/LinAlg/Maths.o In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Core:540: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/LU:47: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Householder:27: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/QR:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/SVD:48: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Geometry:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from lib/LinAlg/Maths.cpp:23: In file included from lib/LinAlg/Maths.h:26: In file included from lib/LinAlg/LinAlg.h:28: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet2/ripley/R/test-flang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 9 warnings generated. make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-flang2/RMixtCompIO/src' ERROR: compilation failed for package ‘RMixtCompIO’ * removing ‘/data/gannet/ripley/R/packages/tests-flang2/RMixtCompIO.Rcheck/RMixtCompIO’