paleolimbot opened a new pull request, #892:
URL: https://github.com/apache/arrow-nanoarrow/pull/892

   The `ArrowSchemaToString()` function used `snprintf(NULL, 0, "...")` to 
calculate final buffer sizes; however, this led to warnings (either because all 
NULLs are bad in this case or because the compiler couldn't prove that `n` was 
zero). This led to CRAN warnings for nanoarrow and all packages that vendored 
it because CRAN compiles on gcc16. Opus 4.5 seemed to suggest _FORTIFY_SOURCE=3 
rejected all null inputs to snprintf, so this PR removes them.
   
   In the process I tidied up the printing a bit since it was hard to follow.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to