Open anjakefala opened 8 months ago
@anjakefala Could you also provide command lines to reproduce this something like the following?
$ git clone --recursive https://github.com/apache/arrow.git
$ cd arrow
$ cmake ...
...
Looking at the workaround here, it looks like this issue comes up when using the GCC compiler. Is that correct? What version of the compiler is being used that triggers the error?
I would like to be able to locally reproduce this strict warning when building the SDK.
This is my version of gcc!
anja@x86_64-conda-linux-gnu:~/git/arrow|kef/39385⚡ ⇒ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
These are the instructions I followed to clone and build Arrow: https://www.datawill.io/posts/apache-arrow-development-cpp-conda-macos/ . Except where it mentions the CMakeUsersPreset, I used the above one.
Importantly, I installed the Arrow dependencies using conda
on a Linux machine. Folks who installed on MacOS, or did not use Conda, did not see the Warning.
Describe the bug I don't necessarily model this as a bug. This did affect my ability to build a project that had azure as a Third Party Dependency (https://github.com/apache/arrow/issues/39384), and so I wanted to let you know.
Essentially,
azure/identity.hpp
emitted a warning about visibility, that caused any strict build of Arrow to fail.In the end Apache Arrow employed a workaround, where it ignores
-Wattributes
inazure/identity.hpp
: https://github.com/apache/arrow/pull/39448/filesException or Stack Trace
To Reproduce Unfortunately, the way I bumped into this was by attempting to build Arrow, and then it would install a bundled version of Azure SDK. I am hoping the stacktrace will help.
If it helps, this is my Arrow
CMakeUserPresets.json
:Code Snippet See reproduction!
Expected behavior No warnings.
Setup (please complete the following information):
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report