HyukjinKwon commented on code in PR #48791:
URL: https://github.com/apache/arrow/pull/48791#discussion_r2677841482


##########
cpp/cmake_modules/ThirdpartyToolchain.cmake:
##########
@@ -3984,6 +3984,11 @@ function(build_awssdk)
         # We don't need to link aws-lc. It's used only by s2n-tls.
       elseif("${AWSSDK_PRODUCT}" STREQUAL "s2n-tls")
         list(PREPEND AWSSDK_LINK_LIBRARIES s2n)
+        # Disable -Werror for s2n-tls: it has Clang 18 warnings that it 
intentionally allows.
+        # See: https://github.com/aws/s2n-tls/issues/5696
+        if(TARGET s2n)
+          target_compile_options(s2n PRIVATE -Wno-error)

Review Comment:
   I'm fine as is too 👍. My impression on that project is that they don't care 
much about warnings so new ones will likely come up.



-- 
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