raulcd commented on code in PR #55694:
URL: https://github.com/apache/arrow/pull/55694#discussion_r4680484868


##########
cpp/examples/arrow/CMakeLists.txt:
##########
@@ -126,6 +126,15 @@ if(ARROW_FLIGHT)
                     EXTRA_SOURCES
                     "${CMAKE_CURRENT_BINARY_DIR}/helloworld.pb.cc"
                     "${CMAKE_CURRENT_BINARY_DIR}/helloworld.grpc.pb.cc")
+  if(NOT MSVC)
+    # Work around absl::Mutex::Dtor ABI mismatch in debug builds against
+    # an NDEBUG-built Abseil. See absl_mutex_ndebug.h.
+    # Same issue as:
+    # 
https://github.com/apache/arrow/blob/d58f83f3131cb57ede40d99ac4d0978748d1a970/cpp/src/arrow/flight/transport/grpc/customize_grpc.h#L25-L59
+    target_compile_options(flight-grpc-example
+                           PRIVATE "SHELL:-include 
${CMAKE_CURRENT_SOURCE_DIR}/absl_mutex_ndebug.h"

Review Comment:
   not at all! Thanks for the careful review! I think with the increase of AI 
usage we should validate all those that are not so obvious carefully and ensure 
they are indeed necessary.



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