* installing *source* package ‘refGenome’ ... ** package ‘refGenome’ successfully unpacked and MD5 sums checked ** using staged installation ** libs make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang-trunk/refGenome/src' /usr/local/clang-trunk/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang/include -fpic -g -O3 -Wall -pedantic -frtti -Wno-tautological-overlap-compare -c refGenome.cpp -o refGenome.o In file included from refGenome.cpp:12: In file included from ./refGenome.h:29: ./extptr.h:112:37: error: no matching function for call to 'Rf_unprotect' virtual ~atmptr() { if(protected_) UNPROTECT(pRob); } ^~~~~~~~~~~~~~~ /data/gannet/ripley/R/R-clang-trunk/include/Rinternals.h:983:22: note: expanded from macro 'UNPROTECT' #define UNPROTECT(n) Rf_unprotect(n) ^~~~~~~~~~~~ /data/gannet/ripley/R/R-clang-trunk/include/Rinternals.h:1750:6: note: candidate function not viable: cannot convert argument of incomplete type 'SEXP' (aka 'SEXPREC *') to 'int' for 1st argument void Rf_unprotect(int); ^ In file included from refGenome.cpp:12: In file included from ./refGenome.h:28: ./grange.h:75:11: warning: private field 'last_id' is not used [-Wunused-private-field] unsigned last_id; ^ 1 warning and 1 error generated. make[1]: *** [/data/gannet/ripley/R/R-clang-trunk/etc/Makeconf:173: refGenome.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang-trunk/refGenome/src' ERROR: compilation failed for package ‘refGenome’ * removing ‘/data/gannet/ripley/R/packages/tests-clang-trunk/refGenome.Rcheck/refGenome’