shihchengwei-lab commented on PR #55694:
URL: https://github.com/apache/arrow/pull/55694#issuecomment-7055374444

   Could we limit this workaround to configurations where Abseil was built with 
`NDEBUG`?
   
   Tracing the Abseil 20240722.0 headers, it looks like a Debug example linked 
against Debug Abseil could still pick up the empty `Mutex::Dtor()` and skip the 
usual debug cleanup. If the forced include is also the first to pull in 
`absl/base/macros.h`, `ABSL_ASSERT` stays disabled in that translation unit 
even after the wrapper undefines `NDEBUG`. I haven’t compiled that Debug/Debug 
configuration locally.


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