paleolimbot commented on PR #12824: URL: https://github.com/apache/arrow/pull/12824#issuecomment-1224281113
I investigated this, and the rhub image doesn't need anything additional to ensure that libc++ is getting used even with the `-std=gnu++XXX` flag: ```bash # docker run --rm -it rhub/fedora-clang-devel bash printf "#include <ciso646>\n#ifdef _LIBCPP_VERSION\n#error Using libc++\n#endif" > test.cpp /opt/R-devel/bin/R CMD SHLIB test.cpp # /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -I"/opt/R-devel/lib64/R/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -c test.cpp -o test.o # test.cpp:3:2: error: Using libc++ # #error Using libc++ # ^ # 1 error generated. /usr/bin/clang++ -stdlib=libc++ -I/usr/local/include -g -O2 -std=gnu++11 -E test.cpp | head -n 1 # test.cpp:3:2: error: Using libc++ # #error Using libc++ # ^ # 1 error generated. ``` -- 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]
