* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘pexm’ ...
** this is package ‘pexm’ version ‘1.1.3’
** package ‘pexm’ successfully unpacked and MD5 sums checked
** using staged installation
checking for prefix by checking for jags... /usr/bin/jags
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++-23 -std=gnu++20 accepts -g... yes
checking how to run the C++ preprocessor... clang++-23 -std=gnu++20 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Console.h usability... yes
checking Console.h presence... yes
checking for Console.h... yes
checking for gcc... clang-23 -std=gnu23
checking whether we are using the GNU C compiler... yes
checking whether clang-23 -std=gnu23 accepts -g... yes
checking for clang-23 -std=gnu23 option to accept ISO C89... unsupported
checking for jags_version in -ljags... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘Debian clang version 23.1.5 (2)’
using C++ compiler: ‘Debian clang version 23.1.5 (2)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNrc6P0/R.INSTALL2049797443e6c/pexm/src'
clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/usr/include/JAGS" -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c functions/DPexFun.cc -o functions/DPexFun.o
In file included from functions/DPexFun.cc:1:
functions/DPexFun.h:14:18: warning: 'jags::pexm::DPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
1 warning generated.
clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/usr/include/JAGS" -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c functions/HCPexFun.cc -o functions/HCPexFun.o
In file included from functions/HCPexFun.cc:1:
functions/HCPexFun.h:14:18: warning: 'jags::pexm::HCPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
1 warning generated.
clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/usr/include/JAGS" -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c functions/HPexFun.cc -o functions/HPexFun.o
In file included from functions/HPexFun.cc:1:
functions/HPexFun.h:14:18: warning: 'jags::pexm::HPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
1 warning generated.
clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/usr/include/JAGS" -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c functions/PPexFun.cc -o functions/PPexFun.o
In file included from functions/PPexFun.cc:1:
functions/PPexFun.h:14:18: warning: 'jags::pexm::PPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
1 warning generated.
clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/usr/include/JAGS" -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c functions/QPexFun.cc -o functions/QPexFun.o
In file included from functions/QPexFun.cc:1:
functions/QPexFun.h:14:18: warning: 'jags::pexm::QPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
1 warning generated.
clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/usr/include/JAGS" -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c distributions/DPex.cc -o distributions/DPex.o
In file included from distributions/DPex.cc:1:
distributions/DPex.h:13:12: warning: 'jags::pexm::DPex::logDensity' hides overloaded virtual function [-Woverloaded-virtual]
   13 |     double logDensity(double const *x, unsigned int length, PDFType type,
      |            ^
/usr/include/JAGS/distribution/VectorDist.h:51:2: note: hidden overloaded virtual function 'jags::VectorDist::logDensity' declared here: different number of parameters (4 vs 7)
   51 |         logDensity(double const *x, PDFType type,
      |         ^
In file included from distributions/DPex.cc:1:
distributions/DPex.h:17:10: warning: 'jags::pexm::DPex::randomSample' hides overloaded virtual functions [-Woverloaded-virtual]
   17 |     void randomSample(double *x, unsigned int length,
      |          ^
/usr/include/JAGS/distribution/VectorDist.h:88:18: note: hidden overloaded virtual function 'jags::VectorDist::randomSample' declared here: different number of parameters (4 vs 7)
   88 |     virtual void randomSample(double *x,
      |                  ^
/usr/include/JAGS/distribution/VectorDist.h:175:18: note: hidden overloaded virtual function 'jags::VectorDist::randomSample' declared here: different number of parameters (5 vs 7)
  175 |     virtual void randomSample(double *x, std::vector<bool> const &observed,
      |                  ^
In file included from distributions/DPex.cc:1:
distributions/DPex.h:27:10: warning: 'jags::pexm::DPex::checkParameterValue' hides overloaded virtual function [-Woverloaded-virtual]
   27 |     bool checkParameterValue(std::vector<double const*> const &parameters,
      |          ^
/usr/include/JAGS/distribution/VectorDist.h:113:2: note: hidden overloaded virtual function 'jags::VectorDist::checkParameterValue' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
  113 |         checkParameterValue(std::vector<double const *> const &parameters,
      |         ^
In file included from distributions/DPex.cc:1:
distributions/DPex.h:36:10: warning: 'jags::pexm::DPex::checkParameterLength' hides overloaded virtual function [-Woverloaded-virtual]
   36 |     bool checkParameterLength(std::vector<unsigned int> const &lengths) const;
      |          ^
/usr/include/JAGS/distribution/VectorDist.h:102:2: note: hidden overloaded virtual function 'jags::VectorDist::checkParameterLength' declared here: type mismatch at 1st parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
  102 |         checkParameterLength (std::vector<unsigned long> const &parameters) 
      |         ^
In file included from distributions/DPex.cc:1:
distributions/DPex.h:38:18: warning: 'jags::pexm::DPex::length' hides overloaded virtual function [-Woverloaded-virtual]
   38 |     unsigned int length(std::vector<unsigned int> const &lengths) const;
      |                  ^
/usr/include/JAGS/distribution/VectorDist.h:122:2: note: hidden overloaded virtual function 'jags::VectorDist::length' declared here: type mismatch at 1st parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
  122 |         length (std::vector<unsigned long> const &par) const = 0;
      |         ^
In file included from distributions/DPex.cc:1:
distributions/DPex.h:40:10: warning: 'jags::pexm::DPex::support' hides overloaded virtual function [-Woverloaded-virtual]
   40 |     void support(double *lower, double *upper, unsigned int length,
      |          ^
/usr/include/JAGS/distribution/VectorDist.h:95:18: note: hidden overloaded virtual function 'jags::VectorDist::support' declared here: different number of parameters (4 vs 5)
   95 |     virtual void support(double *lower, double *upper,
      |                  ^
6 warnings generated.
clang-23 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/usr/include/JAGS" -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c init.c -o init.o
clang++-23 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I"/usr/include/JAGS" -D JAGS_MAJOR_FORCED=0 -D JAGS_MAJOR_ASSUMED=0  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c pexm.cc -o pexm.o
In file included from pexm.cc:3:
./distributions/DPex.h:13:12: warning: 'jags::pexm::DPex::logDensity' hides overloaded virtual function [-Woverloaded-virtual]
   13 |     double logDensity(double const *x, unsigned int length, PDFType type,
      |            ^
/usr/include/JAGS/distribution/VectorDist.h:51:2: note: hidden overloaded virtual function 'jags::VectorDist::logDensity' declared here: different number of parameters (4 vs 7)
   51 |         logDensity(double const *x, PDFType type,
      |         ^
In file included from pexm.cc:3:
./distributions/DPex.h:17:10: warning: 'jags::pexm::DPex::randomSample' hides overloaded virtual functions [-Woverloaded-virtual]
   17 |     void randomSample(double *x, unsigned int length,
      |          ^
/usr/include/JAGS/distribution/VectorDist.h:88:18: note: hidden overloaded virtual function 'jags::VectorDist::randomSample' declared here: different number of parameters (4 vs 7)
   88 |     virtual void randomSample(double *x,
      |                  ^
/usr/include/JAGS/distribution/VectorDist.h:175:18: note: hidden overloaded virtual function 'jags::VectorDist::randomSample' declared here: different number of parameters (5 vs 7)
  175 |     virtual void randomSample(double *x, std::vector<bool> const &observed,
      |                  ^
In file included from pexm.cc:3:
./distributions/DPex.h:27:10: warning: 'jags::pexm::DPex::checkParameterValue' hides overloaded virtual function [-Woverloaded-virtual]
   27 |     bool checkParameterValue(std::vector<double const*> const &parameters,
      |          ^
/usr/include/JAGS/distribution/VectorDist.h:113:2: note: hidden overloaded virtual function 'jags::VectorDist::checkParameterValue' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
  113 |         checkParameterValue(std::vector<double const *> const &parameters,
      |         ^
In file included from pexm.cc:3:
./distributions/DPex.h:36:10: warning: 'jags::pexm::DPex::checkParameterLength' hides overloaded virtual function [-Woverloaded-virtual]
   36 |     bool checkParameterLength(std::vector<unsigned int> const &lengths) const;
      |          ^
/usr/include/JAGS/distribution/VectorDist.h:102:2: note: hidden overloaded virtual function 'jags::VectorDist::checkParameterLength' declared here: type mismatch at 1st parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
  102 |         checkParameterLength (std::vector<unsigned long> const &parameters) 
      |         ^
In file included from pexm.cc:3:
./distributions/DPex.h:38:18: warning: 'jags::pexm::DPex::length' hides overloaded virtual function [-Woverloaded-virtual]
   38 |     unsigned int length(std::vector<unsigned int> const &lengths) const;
      |                  ^
/usr/include/JAGS/distribution/VectorDist.h:122:2: note: hidden overloaded virtual function 'jags::VectorDist::length' declared here: type mismatch at 1st parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
  122 |         length (std::vector<unsigned long> const &par) const = 0;
      |         ^
In file included from pexm.cc:3:
./distributions/DPex.h:40:10: warning: 'jags::pexm::DPex::support' hides overloaded virtual function [-Woverloaded-virtual]
   40 |     void support(double *lower, double *upper, unsigned int length,
      |          ^
/usr/include/JAGS/distribution/VectorDist.h:95:18: note: hidden overloaded virtual function 'jags::VectorDist::support' declared here: different number of parameters (4 vs 5)
   95 |     virtual void support(double *lower, double *upper,
      |                  ^
In file included from pexm.cc:4:
./functions/DPexFun.h:14:18: warning: 'jags::pexm::DPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
In file included from pexm.cc:5:
./functions/PPexFun.h:14:18: warning: 'jags::pexm::PPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
In file included from pexm.cc:6:
./functions/QPexFun.h:14:18: warning: 'jags::pexm::QPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
In file included from pexm.cc:7:
./functions/HCPexFun.h:14:18: warning: 'jags::pexm::HCPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
In file included from pexm.cc:8:
./functions/HPexFun.h:14:18: warning: 'jags::pexm::HPexFun::scalarEval' hides overloaded virtual function [-Woverloaded-virtual]
   14 |           double scalarEval(std::vector<double const *> const &args,
      |                  ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: hidden overloaded virtual function 'jags::ScalarVectorFunction::scalarEval' declared here: type mismatch at 2nd parameter ('const std::vector<unsigned long> &' vs 'const std::vector<unsigned int> &')
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
pexm.cc:21:14: error: allocating an object of abstract class type 'DPex'
   21 |   insert(new DPex); // inherited function to load objects in JAGS
      |              ^
/usr/include/JAGS/distribution/VectorDist.h:51:2: note: unimplemented pure virtual method 'logDensity' in 'DPex'
   51 |         logDensity(double const *x, PDFType type,
      |         ^
/usr/include/JAGS/distribution/VectorDist.h:88:18: note: unimplemented pure virtual method 'randomSample' in 'DPex'
   88 |     virtual void randomSample(double *x,
      |                  ^
/usr/include/JAGS/distribution/VectorDist.h:95:18: note: unimplemented pure virtual method 'support' in 'DPex'
   95 |     virtual void support(double *lower, double *upper,
      |                  ^
/usr/include/JAGS/distribution/VectorDist.h:102:2: note: unimplemented pure virtual method 'checkParameterLength' in 'DPex'
  102 |         checkParameterLength (std::vector<unsigned long> const &parameters) 
      |         ^
/usr/include/JAGS/distribution/VectorDist.h:113:2: note: unimplemented pure virtual method 'checkParameterValue' in 'DPex'
  113 |         checkParameterValue(std::vector<double const *> const &parameters,
      |         ^
/usr/include/JAGS/distribution/VectorDist.h:122:2: note: unimplemented pure virtual method 'length' in 'DPex'
  122 |         length (std::vector<unsigned long> const &par) const = 0;
      |         ^
pexm.cc:22:14: error: allocating an object of abstract class type 'DPexFun'
   22 |   insert(new DPexFun);
      |              ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: unimplemented pure virtual method 'scalarEval' in 'DPexFun'
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
pexm.cc:23:14: error: allocating an object of abstract class type 'PPexFun'
   23 |   insert(new PPexFun);
      |              ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: unimplemented pure virtual method 'scalarEval' in 'PPexFun'
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
pexm.cc:24:14: error: allocating an object of abstract class type 'QPexFun'
   24 |   insert(new QPexFun);
      |              ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: unimplemented pure virtual method 'scalarEval' in 'QPexFun'
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
pexm.cc:25:14: error: allocating an object of abstract class type 'HCPexFun'
   25 |   insert(new HCPexFun);
      |              ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: unimplemented pure virtual method 'scalarEval' in 'HCPexFun'
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
pexm.cc:26:14: error: allocating an object of abstract class type 'HPexFun'
   26 |   insert(new HPexFun);
      |              ^
/usr/include/JAGS/function/ScalarVectorFunction.h:25:6: note: unimplemented pure virtual method 'scalarEval' in 'HPexFun'
   25 |             scalarEval (std::vector <double const *> const &args,
      |             ^
11 warnings and 6 errors generated.
make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:195: pexm.o] Error 1
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNrc6P0/R.INSTALL2049797443e6c/pexm/src'
ERROR: compilation failed for package ‘pexm’
* removing ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/pexm’