You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using no_init() for declaring a variable with assignment, rchk (with clang 6.0 on Ubuntu 18.04) detects an error. This goes away if no_init() is used in a copy constructor.
IntegerVector ret_bad = no_init(1); // rchk detects problem
IntegerVector ret_ok(no_init(1)); // rchk detects no problem
I have created a test package to replicate the problem.
Example package: https://github.com/krlmlr/RcppNoInitTest.
When using
no_init()
for declaring a variable with assignment, rchk (with clang 6.0 on Ubuntu 18.04) detects an error. This goes away ifno_init()
is used in a copy constructor.I have created a test package to replicate the problem.
.bcheck
fileThis is important to me, because dplyr on CRAN shows these
rchk
errors: https://raw.githubusercontent.com/kalibera/cran-checks/master/rchk/results/dplyr.out.I'll submit a PR for discussion pointing to this issue. Please advise.
The text was updated successfully, but these errors were encountered: