[R-pkg-devel] gcc-san check warns for non-portable flags
Pepijn de Vries
pep|jn@devr|e@ @end|ng |rom out|ook@com
Fri Jan 10 18:00:04 CET 2025
Dear fellow package developers,
There were multiple issues with a package I maintain: @CRAN: <https://cran.r-project.org/package=adfExplorer> @source: <https://github.com/pepijn-devries/adfExplorer/>. As far as I can tell all issues listed @CRAN were fixed in the latest version (available from GitHub and R-Universe). However, when submitting to CRAN, the special gcc san check complains about non-portable flags (see below).
I cannot reproduce this warning myself. As far as I can tell, I don't set these flags myself (neither in the configure script nor in makevars.in). I suspect that these flags are set by the machine that performs the checks. How do I pass this check? Or should I report it to CRAN as a false negative result?
Many thanks for your help.
Kind regards,
Pepijn
> Flavor: r-devel-windows-x86_64, r-devel-linux-x86_64-debian-special-clang-san
> Check: *, Result: OK
>
> Flavor: r-devel-linux-x86_64-debian-special-gcc-san
> Check: compilation flags used, Result: WARNING
> Compilation used the following non-portable flag(s):
> '-Wno-deprecated-declarations' '-Wno-ignored-attributes'
> '-Wno-stringop-truncation'
> including flag(s) suppressing warnings
More information about the R-package-devel
mailing list