Skip to content

Instantly share code, notes, and snippets.

@romainfrancois
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romainfrancois/10638906 to your computer and use it in GitHub Desktop.
Save romainfrancois/10638906 to your computer and use it in GitHub Desktop.
compiler error when coimpiling a very simple file against Rcpp11 on windows with g++ 4.6.3 and -std=cxx0x

Trying to sourceCpp the test.cpp, I get all that on windows with gcc 4.6.3

cygwin warning:
MS-DOS style path detected: C:/R/R-31~1.0/etc/x64/Makeconf
Preferred POSIX equivalent is: /cygdrive/c/R/R-31~1.0/etc/x64/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
g++ -m64 -std=c++0x -I"C:/R/R-31~1.0/include" -DNDEBUG -I"C:/R/R-3.1.0/library/Rcpp11/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c test.cpp -o test.o
In file included from C:/R/R-3.1.0/library/Rcpp11/include/Rcpp.h:16:0,
from test.cpp:1:
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/R.h:172:16: warning: 'RCNTXT' has a field 'RCNTXT::cjmpbuf' whose type uses the anonymous namespace [enabled by default]
In file included from C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/traits/traits.h:9:0,
from C:/R/R-3.1.0/library/Rcpp11/include/Rcpp.h:135,
from test.cpp:1:
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/traits/named_object.h: In constructor 'Rcpp::traits::named_object<SEXPREC*>::named_object(const string&, SEXPREC* const&)':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/traits/named_object.h:27:70: error: type 'Rcpp::traits::named_object<SEXPREC*>' is not a direct base of 'Rcpp::traits::named_object<SEXPREC*>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/traits/named_object.h: In copy constructor 'Rcpp::traits::named_object<SEXPREC*>::named_object(const Rcpp::traits::named_object<SEXPREC*>&)':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/traits/named_object.h:30:63: error: type 'Rcpp::traits::named_object<SEXPREC*>' is not a direct base of 'Rcpp::traits::named_object<SEXPREC*>'
In file included from C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/Vector.h:36:0,
from C:/R/R-3.1.0/library/Rcpp11/include/Rcpp.h:187,
from test.cpp:1:
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/NA_Proxy.h: In constructor 'Rcpp::String::String(Rcpp::Na_Proxy)':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/NA_Proxy.h:53:41: error: type 'Rcpp::String' is not a direct base of 'Rcpp::String'
In file included from C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/Vector.h:27:0,
from C:/R/R-3.1.0/library/Rcpp11/include/Rcpp.h:187,
from test.cpp:1:
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(int, Rcpp::Vector<RTYPE, StoragePolicy>::init_type) [with int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage, Rcpp::Vector<RTYPE, StoragePolicy>::init_type = double]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:47:44: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:49:48: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::NormGenerator__mean0__sd1>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:54:73: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::NormGenerator__sd1>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:56:72: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::NormGenerator__mean0>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:58:72: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::NormGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:61:71: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::BetaGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:96:58: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::BinomGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:103:61: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::CauchyGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:116:76: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::CauchyGenerator_1>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:129:70: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::CauchyGenerator_0>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:136:57: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::ChisqGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:144:58: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::ExpGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:157:59: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::ExpGenerator__rate1>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:160:59: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::FGenerator_Finite_Finite>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:171:76: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::FGenerator_NotFinite_Finite>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:175:75: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::FGenerator_Finite_NotFinite>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:177:75: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::GammaGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:191:62: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::GeomGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:207:56: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::HyperGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:214:68: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::LNormGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:227:74: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::LNormGenerator_1>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:241:69: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::LNormGenerator_0>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:249:57: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::LogisGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:262:71: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::LogisGenerator_1>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:275:66: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::LogisGenerator_0>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:282:56: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::NBinomGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:293:66: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::NBinomGenerator_Mu>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:303:67: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::NChisqGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:316:67: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::PoissonGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:332:58: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::SignRankGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:340:59: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::TGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:356:54: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::UnifGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:365:63: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::UnifGenerator__0__1>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:381:59: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::WeibullGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:393:70: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::WeibullGenerator__scale1>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:400:71: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::SugarVectorExpression<RTYPE, NA, Expr>&) [with bool NA = true, Expr = Rcpp::sugar::Replicate<double, Rcpp::stats::WilcoxGenerator>, int RTYPE = 14, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/stats/random/random.h:407:61: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:58:90: error: type 'Rcpp::Vector<14>' is not a direct base of 'Rcpp::Vector<14>'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h: In constructor 'Rcpp::Vector<RTYPE, StoragePolicy>::Vector(int) [with int RTYPE = 10, StoragePolicy = Rcpp::PreserveStorage]':
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/create.h:37:65: instantiated from 'Rcpp::CreateWithNames<RTYPE, Args>::CreateWithNames(Args ...) [with int RTYPE = 10, Args = {Rcpp::traits::named_object<bool>, Rcpp::traits::named_object<bool>, Rcpp::traits::named_object<bool>}]'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:96:72: instantiated from 'static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create(Args ...) [with Args = {Rcpp::traits::named_object<bool>, Rcpp::traits::named_object<bool>, Rcpp::traits::named_object<bool>}, int RTYPE = 10, StoragePolicy = Rcpp::PreserveStorage, Rcpp::Vector<RTYPE, StoragePolicy> = Rcpp::Vector<10>]'
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/NA_Proxy.h:50:9: instantiated from here
C:/R/R-3.1.0/library/Rcpp11/include/Rcpp/vector/impl/SimpleVector.h:46:59: error: type 'Rcpp::Vector<10>' is not a direct base of 'Rcpp::Vector<10>'
make: *** [test.o] Error 1
Message d'avis :
l'exécution de la commande 'make -f "C:/R/R-31~1.0/etc/x64/Makeconf" -f "C:/R/R-31~1.0/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="test.dll" WIN=64 TCLBIN=64 OBJECTS="test.o"' renvoie un statut 2
#include <Rcpp.h>
using namespace Rcpp;
// Below is a simple example of exporting a C++ function to R. You can
// source this function into an R session using the Rcpp::sourceCpp
// function (or via the Source button on the editor toolbar)
// For more on using Rcpp click the Help button on the editor toolbar
// [[Rcpp::export]]
int timesTwo(int x) {
return x * 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment