[Rcpp-devel] [RcppParallel] Segfault but only on TravisCI
edd at debian.org
Sat Jan 20 20:06:38 CET 2018
On 20 January 2018 at 19:20, Alexis Sarda wrote:
| After testing locally with clang, it seems the problem actually was that
| there were different classes inheriting from RcppParallel::Worker in
| different cpp files, but they all had the same names and the same
| constructors, yet different logic. There were no compilation warnings, but
| apparently clang doesn't isolate each class to the file where it is
| declared+defined, even if it doesn't appear in any header.
Glad to know you found it.
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the Rcpp-devel