pitrou opened a new issue, #46272: URL: https://github.com/apache/arrow/issues/46272
### Describe the enhancement requested gcc has a warning option [`-Wmissing-declarations`](https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-declarations) that should allow us to find private functions that erroneously have global linkage (because they are neither `static` nor in the anonymous namespace). Enabling this option will probably produce many false positives, though, and they will have to be worked around. ### Component(s) C++ -- 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