* using log directory 'd:/Rcompile/CRANpkg/local/3.0/scrm.Rcheck' * using R version 3.0.3 (2014-03-06) * using platform: i386-w64-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'scrm/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'scrm' version '1.3-2' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'scrm' can be installed ... ERROR Installation failed. The installation logfile: * installing *source* package 'scrm' ... ** package 'scrm' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpsJRhb3/R.INSTALL3c70332218df/scrm/src-i386' g++ -I"D:/Rcompile/recent/R-3.0.3/include" -DVERSION=1.3 -DRBUILD -DNTOSTRING -I"d:/RCompile/CRANpkg/lib/3.0/Rcpp/include" -I"d:/Rcompile/CRANpkg/extralibs215/local215/include" -O3 -Wall -mtune=core2 -c scrmr.cpp -o scrmr.o In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/random:35:0, from scrm/param.h:30, from scrmr.cpp:7: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. In file included from scrm/summary_statistics/../random/random_generator.h:31:0, from scrm/summary_statistics/../contemporaries_container.h:34, from scrm/summary_statistics/../forest.h:48, from scrm/summary_statistics/tmrca.h:31, from scrm/param.h:34, from scrmr.cpp:7: scrm/summary_statistics/../random/fastfunc.h:51:3: warning: identifier 'constexpr' will become a keyword in C++0x [-Wc++0x-compat] In file included from scrm/summary_statistics/../random/random_generator.h:31:0, from scrm/summary_statistics/../contemporaries_container.h:34, from scrm/summary_statistics/../forest.h:48, from scrm/summary_statistics/tmrca.h:31, from scrm/param.h:34, from scrmr.cpp:7: scrm/summary_statistics/../random/fastfunc.h:51:10: error: 'constexpr' does not name a type scrm/summary_statistics/../random/fastfunc.h:51:10: note: C++0x 'constexpr' only available with -std=c++0x or -std=gnu++0x scrm/summary_statistics/../random/fastfunc.h:52:10: error: 'constexpr' does not name a type scrm/summary_statistics/../random/fastfunc.h:52:10: note: C++0x 'constexpr' only available with -std=c++0x or -std=gnu++0x scrm/summary_statistics/../random/fastfunc.h:53:10: error: 'constexpr' does not name a type scrm/summary_statistics/../random/fastfunc.h:53:10: note: C++0x 'constexpr' only available with -std=c++0x or -std=gnu++0x scrm/summary_statistics/../random/fastfunc.h:54:10: error: 'constexpr' does not name a type scrm/summary_statistics/../random/fastfunc.h:54:10: note: C++0x 'constexpr' only available with -std=c++0x or -std=gnu++0x scrm/summary_statistics/../random/fastfunc.h: In member function 'double FastFunc::fastexp_up(double)': scrm/summary_statistics/../random/fastfunc.h:80:23: error: 'EXP_A' was not declared in this scope scrm/summary_statistics/../random/fastfunc.h:80:49: error: 'EXP_C_UP' was not declared in this scope scrm/summary_statistics/../random/fastfunc.h: In member function 'double FastFunc::fastexp_lo(double)': scrm/summary_statistics/../random/fastfunc.h:91:23: error: 'EXP_A' was not declared in this scope scrm/summary_statistics/../random/fastfunc.h:91:49: error: 'EXP_C_LO' was not declared in this scope scrm/summary_statistics/../random/fastfunc.h: In member function 'double FastFunc::fastlog(double)': scrm/summary_statistics/../random/fastfunc.h:103:19: error: 'LN2' was not declared in this scope In file included from scrm/summary_statistics/../forest.h:48:0, from scrm/summary_statistics/tmrca.h:31, from scrm/param.h:34, from scrmr.cpp:7: scrm/summary_statistics/../contemporaries_container.h: At global scope: scrm/summary_statistics/../contemporaries_container.h:38:44: error: expected ')' before '<' token scrm/summary_statistics/../contemporaries_container.h:79:3: error: 'unordered_set' in namespace 'std' does not name a type scrm/summary_statistics/../contemporaries_container.h: In member function 'Node* ContemporariesIterator::operator*() const': scrm/summary_statistics/../contemporaries_container.h:49:27: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'Node* ContemporariesIterator::operator++()': scrm/summary_statistics/../contemporaries_container.h:55:9: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'bool ContemporariesIterator::operator==(const ContemporariesIterator&) const': scrm/summary_statistics/../contemporaries_container.h:70:27: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:70:44: error: 'const class ContemporariesIterator' has no member named 'it_set_' scrm/summary_statistics/../contemporaries_container.h: At global scope: scrm/summary_statistics/../contemporaries_container.h:87:49: error: expected ')' before '<' token scrm/summary_statistics/../contemporaries_container.h:128:3: error: 'unordered_set' in namespace 'std' does not name a type scrm/summary_statistics/../contemporaries_container.h: In member function 'const Node* ContemporariesConstIterator::operator*() const': scrm/summary_statistics/../contemporaries_container.h:98:27: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'const Node* ContemporariesConstIterator::operator++()': scrm/summary_statistics/../contemporaries_container.h:104:9: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'bool ContemporariesConstIterator::operator==(const ContemporariesConstIterator&) const': scrm/summary_statistics/../contemporaries_container.h:119:27: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:119:44: error: 'const class ContemporariesConstIterator' has no member named 'it_set_' scrm/summary_statistics/../contemporaries_container.h: At global scope: scrm/summary_statistics/../contemporaries_container.h:182:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:182:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:182:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:182:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:182:39: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:182:39: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:182:41: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h:186:21: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:186:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:186:21: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:186:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:186:45: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:186:45: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:186:47: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h:190:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:190:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:190:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:190:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:190:39: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:190:39: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:190:41: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h:194:21: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:194:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:194:21: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:194:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:194:45: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:194:45: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:194:47: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h:217:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:217:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:217:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:217:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:217:39: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:217:39: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:217:41: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesConstIterator ContemporariesContainer::begin(size_t) const': scrm/summary_statistics/../contemporaries_container.h:155:73: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:156:77: error: 'const class std::vector' has no member named 'cbegin' scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesConstIterator ContemporariesContainer::end(size_t) const': scrm/summary_statistics/../contemporaries_container.h:159:73: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:160:77: error: 'const class std::vector' has no member named 'cend' scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesConstIterator ContemporariesContainer::buffer_begin(size_t) const': scrm/summary_statistics/../contemporaries_container.h:165:65: error: 'buffer_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:166:69: error: 'const class std::vector' has no member named 'cbegin' scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesConstIterator ContemporariesContainer::buffer_end(size_t) const': scrm/summary_statistics/../contemporaries_container.h:169:65: error: 'buffer_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:170:69: error: 'const class std::vector' has no member named 'cend' scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesIterator ContemporariesContainer::buffer_begin(size_t)': scrm/summary_statistics/../contemporaries_container.h:173:60: error: 'buffer_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesIterator ContemporariesContainer::buffer_end(size_t)': scrm/summary_statistics/../contemporaries_container.h:177:60: error: 'buffer_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In constructor 'ContemporariesContainer::ContemporariesContainer(size_t, size_t, RandomGenerator*)': scrm/summary_statistics/../contemporaries_container.h:245:11: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:245:16: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:246:5: error: expected ';' before 'contemporaries_vec2_' scrm/summary_statistics/../contemporaries_container.h:246:71: error: could not convert '((ContemporariesContainer*)this)->ContemporariesContainer::contemporaries_vec2_.std::vector<_Tp, _Alloc>::operator= [with _Tp = std::vector, _Alloc = std::allocator >]((*(const std::vector >*)(& std::vector >(pop_number, (*(const value_type*)(& std::vector())), (*(const allocator_type*)(& std::allocator >()))))))' from 'std::vector >' to 'bool' scrm/summary_statistics/../contemporaries_container.h:247:5: error: expected primary-expression before 'for' scrm/summary_statistics/../contemporaries_container.h:247:5: error: expected ')' before 'for' scrm/summary_statistics/../contemporaries_container.h:247:11: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:247:16: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:248:5: error: expected ';' before 'use_set_' scrm/summary_statistics/../contemporaries_container.h:248:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] scrm/summary_statistics/../contemporaries_container.h:249:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:249:3: error: expected ')' before '}' token scrm/summary_statistics/../contemporaries_container.h:249:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:249:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:251:5: error: 'contemporaries_set1_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:251:40: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:251:40: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:251:40: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:251:40: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:251:64: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:251:64: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:251:80: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:251:80: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:251:103: error: expected primary-expression before '*' token scrm/summary_statistics/../contemporaries_container.h:251:104: error: expected primary-expression before '>' token scrm/summary_statistics/../contemporaries_container.h:252:5: error: 'contemporaries_set2_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:252:40: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:252:40: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:252:40: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:252:40: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:252:64: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:252:64: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:252:80: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:252:80: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:252:103: error: expected primary-expression before '*' token scrm/summary_statistics/../contemporaries_container.h:252:104: error: expected primary-expression before '>' token scrm/summary_statistics/../contemporaries_container.h: In member function 'void ContemporariesContainer::add(Node*)': scrm/summary_statistics/../contemporaries_container.h:263:36: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'void ContemporariesContainer::remove(Node*)': scrm/summary_statistics/../contemporaries_container.h:269:36: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:272:5: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:272:10: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:275:9: error: 'it' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'void ContemporariesContainer::clear()': scrm/summary_statistics/../contemporaries_container.h:294:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:294:15: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:294:50: error: expected ';' before 'it' scrm/summary_statistics/../contemporaries_container.h:294:50: error: 'it' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:294:75: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:298:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:298:15: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:298:53: error: expected ';' before 'it' scrm/summary_statistics/../contemporaries_container.h:298:53: error: 'it' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'size_t ContemporariesContainer::size(size_t) const': scrm/summary_statistics/../contemporaries_container.h:305:43: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'Node* ContemporariesContainer::sample(size_t) const': scrm/summary_statistics/../contemporaries_container.h:338:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:338:15: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:339:10: error: expected ';' before 'it' scrm/summary_statistics/../contemporaries_container.h:339:10: error: 'it' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:339:35: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'bool ContemporariesContainer::empty() const': scrm/summary_statistics/../contemporaries_container.h:354:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:354:15: error: 'pop_container' does not name a type scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected ')' before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:358:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:358:15: error: 'pop_container' does not name a type scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected ')' before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected ';' before '}' token In file included from scrm/param.h:35:0, from scrmr.cpp:7: scrm/summary_statistics/seg_sites.h: At global scope: scrm/summary_statistics/seg_sites.h:68:33: error: '>>' should be '> >' within a nested template argument list In file included from scrmr.cpp:7:0: scrm/param.h:61:14: error: expected ',' or '...' before '&&' token scrm/param.h:61:22: error: invalid constructor; you probably meant 'Param (const Param&)' scrmr.cpp: In function 'Rcpp::List scrm(std::string, std::string)': scrmr.cpp:67:17: error: no matching function for call to 'std::basic_ofstream::open(std::string&)' scrmr.cpp:67:17: note: candidate is: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char, _Traits = std::char_traits, std::ios_base::openmode = std::_Ios_Openmode] d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/fstream:702:7: note: no known conversion for argument 1 from 'std::string {aka std::basic_string}' to 'const char*' scrm/summary_statistics/../random/fastfunc.h: In member function 'double FastFunc::fastlog(double)': scrm/summary_statistics/../random/fastfunc.h:106:1: warning: control reaches end of non-void function [-Wreturn-type] make[1]: *** [scrmr.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpsJRhb3/R.INSTALL3c70332218df/scrm/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/Rcompile/recent/R-3.0.3/etc/i386/Makeconf" -f "D:/Rcompile/recent/R-3.0.3/etc/i386/Makevars.site" -f "D:/Rcompile/recent/R-3.0.3/share/make/winshlib.mk" -f "C:\Users\CRAN\Documents/.R/Makevars" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="scrm.dll" ' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpsJRhb3/R.INSTALL3c70332218df/scrm/src-i386' g++ -I"D:/Rcompile/recent/R-3.0.3/include" -DVERSION=1.3 -DRBUILD -DNTOSTRING -I"d:/RCompile/CRANpkg/lib/3.0/Rcpp/include" -I"d:/Rcompile/CRANpkg/extralibs215/local215/include" -O3 -Wall -mtune=core2 -c scrmr.cpp -o scrmr.o In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/random:35:0, from scrm/param.h:30, from scrmr.cpp:7: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. In file included from scrm/summary_statistics/../random/random_generator.h:31:0, from scrm/summary_statistics/../contemporaries_container.h:34, from scrm/summary_statistics/../forest.h:48, from scrm/summary_statistics/tmrca.h:31, from scrm/param.h:34, from scrmr.cpp:7: scrm/summary_statistics/../random/fastfunc.h:51:3: warning: identifier 'constexpr' will become a keyword in C++0x [-Wc++0x-compat] In file included from scrm/summary_statistics/../random/random_generator.h:31:0, from scrm/summary_statistics/../contemporaries_container.h:34, from scrm/summary_statistics/../forest.h:48, from scrm/summary_statistics/tmrca.h:31, from scrm/param.h:34, from scrmr.cpp:7: scrm/summary_statistics/../random/fastfunc.h:51:10: error: 'constexpr' does not name a type scrm/summary_statistics/../random/fastfunc.h:51:10: note: C++0x 'constexpr' only available with -std=c++0x or -std=gnu++0x scrm/summary_statistics/../random/fastfunc.h:52:10: error: 'constexpr' does not name a type scrm/summary_statistics/../random/fastfunc.h:52:10: note: C++0x 'constexpr' only available with -std=c++0x or -std=gnu++0x scrm/summary_statistics/../random/fastfunc.h:53:10: error: 'constexpr' does not name a type scrm/summary_statistics/../random/fastfunc.h:53:10: note: C++0x 'constexpr' only available with -std=c++0x or -std=gnu++0x scrm/summary_statistics/../random/fastfunc.h:54:10: error: 'constexpr' does not name a type scrm/summary_statistics/../random/fastfunc.h:54:10: note: C++0x 'constexpr' only available with -std=c++0x or -std=gnu++0x scrm/summary_statistics/../random/fastfunc.h: In member function 'double FastFunc::fastexp_up(double)': scrm/summary_statistics/../random/fastfunc.h:80:23: error: 'EXP_A' was not declared in this scope scrm/summary_statistics/../random/fastfunc.h:80:49: error: 'EXP_C_UP' was not declared in this scope scrm/summary_statistics/../random/fastfunc.h: In member function 'double FastFunc::fastexp_lo(double)': scrm/summary_statistics/../random/fastfunc.h:91:23: error: 'EXP_A' was not declared in this scope scrm/summary_statistics/../random/fastfunc.h:91:49: error: 'EXP_C_LO' was not declared in this scope scrm/summary_statistics/../random/fastfunc.h: In member function 'double FastFunc::fastlog(double)': scrm/summary_statistics/../random/fastfunc.h:103:19: error: 'LN2' was not declared in this scope In file included from scrm/summary_statistics/../forest.h:48:0, from scrm/summary_statistics/tmrca.h:31, from scrm/param.h:34, from scrmr.cpp:7: scrm/summary_statistics/../contemporaries_container.h: At global scope: scrm/summary_statistics/../contemporaries_container.h:38:44: error: expected ')' before '<' token scrm/summary_statistics/../contemporaries_container.h:79:3: error: 'unordered_set' in namespace 'std' does not name a type scrm/summary_statistics/../contemporaries_container.h: In member function 'Node* ContemporariesIterator::operator*() const': scrm/summary_statistics/../contemporaries_container.h:49:27: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'Node* ContemporariesIterator::operator++()': scrm/summary_statistics/../contemporaries_container.h:55:9: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'bool ContemporariesIterator::operator==(const ContemporariesIterator&) const': scrm/summary_statistics/../contemporaries_container.h:70:27: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:70:44: error: 'const class ContemporariesIterator' has no member named 'it_set_' scrm/summary_statistics/../contemporaries_container.h: At global scope: scrm/summary_statistics/../contemporaries_container.h:87:49: error: expected ')' before '<' token scrm/summary_statistics/../contemporaries_container.h:128:3: error: 'unordered_set' in namespace 'std' does not name a type scrm/summary_statistics/../contemporaries_container.h: In member function 'const Node* ContemporariesConstIterator::operator*() const': scrm/summary_statistics/../contemporaries_container.h:98:27: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'const Node* ContemporariesConstIterator::operator++()': scrm/summary_statistics/../contemporaries_container.h:104:9: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'bool ContemporariesConstIterator::operator==(const ContemporariesConstIterator&) const': scrm/summary_statistics/../contemporaries_container.h:119:27: error: 'it_set_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:119:44: error: 'const class ContemporariesConstIterator' has no member named 'it_set_' scrm/summary_statistics/../contemporaries_container.h: At global scope: scrm/summary_statistics/../contemporaries_container.h:182:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:182:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:182:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:182:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:182:39: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:182:39: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:182:41: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h:186:21: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:186:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:186:21: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:186:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:186:45: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:186:45: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:186:47: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h:190:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:190:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:190:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:190:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:190:39: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:190:39: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:190:41: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h:194:21: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:194:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:194:21: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:194:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:194:45: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:194:45: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:194:47: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h:217:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:217:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:217:15: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:217:15: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:217:39: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:217:39: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:217:41: error: expected unqualified-id before '>' token scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesConstIterator ContemporariesContainer::begin(size_t) const': scrm/summary_statistics/../contemporaries_container.h:155:73: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:156:77: error: 'const class std::vector' has no member named 'cbegin' scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesConstIterator ContemporariesContainer::end(size_t) const': scrm/summary_statistics/../contemporaries_container.h:159:73: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:160:77: error: 'const class std::vector' has no member named 'cend' scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesConstIterator ContemporariesContainer::buffer_begin(size_t) const': scrm/summary_statistics/../contemporaries_container.h:165:65: error: 'buffer_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:166:69: error: 'const class std::vector' has no member named 'cbegin' scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesConstIterator ContemporariesContainer::buffer_end(size_t) const': scrm/summary_statistics/../contemporaries_container.h:169:65: error: 'buffer_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:170:69: error: 'const class std::vector' has no member named 'cend' scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesIterator ContemporariesContainer::buffer_begin(size_t)': scrm/summary_statistics/../contemporaries_container.h:173:60: error: 'buffer_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'ContemporariesIterator ContemporariesContainer::buffer_end(size_t)': scrm/summary_statistics/../contemporaries_container.h:177:60: error: 'buffer_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In constructor 'ContemporariesContainer::ContemporariesContainer(size_t, size_t, RandomGenerator*)': scrm/summary_statistics/../contemporaries_container.h:245:11: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:245:16: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:246:5: error: expected ';' before 'contemporaries_vec2_' scrm/summary_statistics/../contemporaries_container.h:246:71: error: could not convert '((ContemporariesContainer*)this)->ContemporariesContainer::contemporaries_vec2_.std::vector<_Tp, _Alloc>::operator= [with _Tp = std::vector, _Alloc = std::allocator >]((*(const std::vector >*)(& std::vector >(pop_number, (*(const value_type*)(& std::vector())), (*(const allocator_type*)(& std::allocator >()))))))' from 'std::vector >' to 'bool' scrm/summary_statistics/../contemporaries_container.h:247:5: error: expected primary-expression before 'for' scrm/summary_statistics/../contemporaries_container.h:247:5: error: expected ')' before 'for' scrm/summary_statistics/../contemporaries_container.h:247:11: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:247:16: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:248:5: error: expected ';' before 'use_set_' scrm/summary_statistics/../contemporaries_container.h:248:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] scrm/summary_statistics/../contemporaries_container.h:249:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:249:3: error: expected ')' before '}' token scrm/summary_statistics/../contemporaries_container.h:249:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:249:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:251:5: error: 'contemporaries_set1_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:251:40: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:251:40: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:251:40: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:251:40: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:251:64: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:251:64: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:251:80: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:251:80: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:251:103: error: expected primary-expression before '*' token scrm/summary_statistics/../contemporaries_container.h:251:104: error: expected primary-expression before '>' token scrm/summary_statistics/../contemporaries_container.h:252:5: error: 'contemporaries_set2_' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:252:40: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:252:40: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:252:40: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:252:40: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:252:64: error: template argument 1 is invalid scrm/summary_statistics/../contemporaries_container.h:252:64: error: template argument 2 is invalid scrm/summary_statistics/../contemporaries_container.h:252:80: error: 'unordered_set' is not a member of 'std' scrm/summary_statistics/../contemporaries_container.h:252:80: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/tr1/unordered_set.h:173:11: note: 'std::tr1::unordered_set' scrm/summary_statistics/../contemporaries_container.h:252:103: error: expected primary-expression before '*' token scrm/summary_statistics/../contemporaries_container.h:252:104: error: expected primary-expression before '>' token scrm/summary_statistics/../contemporaries_container.h: In member function 'void ContemporariesContainer::add(Node*)': scrm/summary_statistics/../contemporaries_container.h:263:36: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'void ContemporariesContainer::remove(Node*)': scrm/summary_statistics/../contemporaries_container.h:269:36: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:272:5: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:272:10: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:275:9: error: 'it' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'void ContemporariesContainer::clear()': scrm/summary_statistics/../contemporaries_container.h:294:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:294:15: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:294:50: error: expected ';' before 'it' scrm/summary_statistics/../contemporaries_container.h:294:50: error: 'it' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:294:75: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:298:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:298:15: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:298:53: error: expected ';' before 'it' scrm/summary_statistics/../contemporaries_container.h:298:53: error: 'it' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'size_t ContemporariesContainer::size(size_t) const': scrm/summary_statistics/../contemporaries_container.h:305:43: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'Node* ContemporariesContainer::sample(size_t) const': scrm/summary_statistics/../contemporaries_container.h:338:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:338:15: error: 'it' does not name a type scrm/summary_statistics/../contemporaries_container.h:339:10: error: expected ';' before 'it' scrm/summary_statistics/../contemporaries_container.h:339:10: error: 'it' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h:339:35: error: 'contemporaries_set' was not declared in this scope scrm/summary_statistics/../contemporaries_container.h: In member function 'bool ContemporariesContainer::empty() const': scrm/summary_statistics/../contemporaries_container.h:354:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:354:15: error: 'pop_container' does not name a type scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected ')' before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:357:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:358:10: warning: 'auto' will change meaning in C++0x; please remove it [-Wc++0x-compat] scrm/summary_statistics/../contemporaries_container.h:358:15: error: 'pop_container' does not name a type scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected ';' before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected ')' before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected primary-expression before '}' token scrm/summary_statistics/../contemporaries_container.h:361:3: error: expected ';' before '}' token In file included from scrm/param.h:35:0, from scrmr.cpp:7: scrm/summary_statistics/seg_sites.h: At global scope: scrm/summary_statistics/seg_sites.h:68:33: error: '>>' should be '> >' within a nested template argument list In file included from scrmr.cpp:7:0: scrm/param.h:61:14: error: expected ',' or '...' before '&&' token scrm/param.h:61:22: error: invalid constructor; you probably meant 'Param (const Param&)' scrmr.cpp: In function 'Rcpp::List scrm(std::string, std::string)': scrmr.cpp:67:17: error: no matching function for call to 'std::basic_ofstream::open(std::string&)' scrmr.cpp:67:17: note: candidate is: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char, _Traits = std::char_traits, std::ios_base::openmode = std::_Ios_Openmode] d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/fstream:702:7: note: no known conversion for argument 1 from 'std::string {aka std::basic_string}' to 'const char*' scrm/summary_statistics/../random/fastfunc.h: In member function 'double FastFunc::fastlog(double)': scrm/summary_statistics/../random/fastfunc.h:106:1: warning: control reaches end of non-void function [-Wreturn-type] make[1]: *** [scrmr.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpsJRhb3/R.INSTALL3c70332218df/scrm/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/Rcompile/recent/R-3.0.3/etc/i386/Makeconf" -f "D:/Rcompile/recent/R-3.0.3/etc/i386/Makevars.site" -f "D:/Rcompile/recent/R-3.0.3/share/make/winshlib.mk" -f "C:\Users\CRAN\Documents/.R/Makevars" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="scrm.dll" symbols.rds' had status 2 ERROR: compilation failed for package 'scrm' * removing 'd:/Rcompile/CRANpkg/lib/3.0/scrm'