Adjust to -Wformat under R-devel by eddelbuettel · Pull Request #1285 · RcppCore/Rcpp (original) (raw)
Pull Request Template for Rcpp
This PR adjusts two files with changes kindly suggested by @kalibera, and tested under update r-devel.
When used with -Wformat
, the compiler no longer complains about incorrect format strings.
Checklist
- Code compiles correctly
R CMD check
still passes all tests- Preferably, new tests were added which fail without the change
- Document the changes by file in ChangeLog