Ubuntu precise with clang 3.3 and gcc 4.6.3 with R 2.15.2 and Rcpp 0.10.1 when calling sourceCpp gives output I'm not quite understanding...<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><div>
> sourceCpp("~/src/TestPackageDepends2/inst/examples/CallFunction.cpp",verbose=T, rebuild=T)</div><div><br></div><div>Generated Rcpp module declaration:</div><div>--------------------------------------------------------</div>
<div><br></div><div>#include <Rcpp.h></div><div>RCPP_MODULE(sourceCpp_12634) {</div><div> Rcpp::function("callFunction", &callFunction, Rcpp::List::create());</div><div>}</div><div><br></div><div>Building shared library</div>
<div>--------------------------------------------------------</div><div><br></div><div>DIR: /tmp/RtmpWMdYuo/sourcecpp_6275273d958b</div><div><br></div><div>/usr/lib/R/bin/R CMD SHLIB -o 'sourceCpp_12634.so' --preclean 'CallFunction.cpp'</div>
<div>"clang++" -I/usr/share/R/include -DNDEBUG -I"/home/thell/R/library/Rcpp/include" -I"/home/thell/R/library/TestPackageDepends/include" -fpic -O3 -pipe -g -c CallFunction.cpp -o CallFunction.o</div>
<div>g++ -shared -o sourceCpp_12634.so CallFunction.o -L/home/thell/R/library/Rcpp/lib -lRcpp -Wl,-rpath,/home/thell/R/library/Rcpp/lib -L/usr/lib/R/lib -lR</div><div><br></div><br></font>What would make clang _not_ get used for both phases? My Makevars shows</div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><div>CC="clang"<br></div><div>CXX="clang++"</div><div>CPP="clang-cpp"</div><div><br></div></font></div>
<div><font face="courier new, monospace"><br></font></div><div><br></div><div>-- <br>Sincerely,<br>Thell<br></div>