Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New WARN on CRAN #73

Closed
rstub opened this issue Nov 28, 2023 · 0 comments · Fixed by #74
Closed

New WARN on CRAN #73

rstub opened this issue Nov 28, 2023 · 0 comments · Fixed by #74

Comments

@rstub
Copy link
Member

rstub commented Nov 28, 2023

A bunch of new WARNINGS are detected by CRAN:

Version: 0.3.1
Check: whether package can be installed
Result: WARN 
  Found the following significant warnings:
    RcppExports.cpp:44:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:77:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:112:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:146:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:181:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:215:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:249:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:282:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:315:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:352:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    RcppExports.cpp:389:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/dqrng.Rcheck/00install.out’ for details.
  * used C++ compiler: ‘Debian clang version 17.0.5 (1)’

See RcppCore/Rcpp#1287 (comment) for solution.

@rstub rstub mentioned this issue Nov 28, 2023
@rstub rstub closed this as completed in #74 Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant