Handle and remove compiler warnings
tomthe opened this issue · comments
During the compilation of SOCSIM (with Rcpp), the compiler prints more than a hundred warnings into the console.
A large part of them stem from the fact that large parts of SOCSIM were written in older versions of C/C++ which did not warn about these issues. Most of the issues are coding-style related, but a lot of the issues might actually be serious issues. Nevertheless the warnings might irritate new (and not new) users of the R-package and should be removed.
With the commit e77e2e3 I removed all the warnings.
This should not change any results. I tested this with one simulation (the integrated) and it indeed does result in the same results.