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


##########
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:
   Oops, sorry. Well, let's do this then. Sorry for delaying :)



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