Re: [I] [R] altrep.cpp contains errors in printf syntax [arrow]

2023-11-27 Thread via GitHub


assignUser closed issue #38893: [R] altrep.cpp contains errors in printf syntax
URL: https://github.com/apache/arrow/issues/38893


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[I] [R] altrep.cpp contains errors in printf syntax [arrow]

2023-11-27 Thread via GitHub


paleolimbot opened a new issue, #38893:
URL: https://github.com/apache/arrow/issues/38893

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   On CI and some nightlies and CRAN we get:
   
   ```
   Version: 14.0.0
   Check: whether package can be installed
   Result: WARN
 Found the following significant warnings:
   altrep.cpp:155:55: warning: format specifies type 'int' but the argument 
has type 'R_xlen_t' (aka 'long') [-Wformat]
   altrep.cpp:160:15: warning: format specifies type 'int' but the argument 
has type 'int64_t' (aka 'long') [-Wformat]
   altrep.cpp:160:44: warning: format specifies type 'int' but the argument 
has type 'int64_t' (aka 'long') [-Wformat]
   altrep.cpp:822:16: warning: format string is not a string literal 
(potentially insecure) [-Wformat-security]
 See 
‘/data/gannet/ripley/R/packages/tests-clang/arrow.Rcheck/00install.out’ for 
details.
 * used C++ compiler: ‘clang version 17.0.5’
   Flavor: r-devel-linux-x86_64-fedora-clang
   ```
   
   The code pathways here are infrequently taken but do need to be fixed.
   
   ### Component(s)
   
   R


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org