[compiler-rt] [compiler-rt] Work around incompatible Windows definitions of (S)SIZE_T (PR #106311)
Mariusz Borsa via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 14:47:54 PDT 2024
wrotki wrote:
We're seeing a build failures on Mac LLVM compile like:
....
.../llvm-project/compiler-rt/lib/interception/interception_type_test.cpp:26:17: error: static assertion failed due to requirement '__sanitizer::is_same<long, int>::value':
26 | COMPILER_CHECK((__sanitizer::is_same<::PTRDIFF_T, ::ptrdiff_t>::value));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../llvm-project/compiler-rt/lib/interception/../sanitizer_common/sanitizer_internal_defs.h:362:44: note: expanded from macro 'COMPILER_CHECK'
362 | #define COMPILER_CHECK(pred) static_assert(pred, "")
| ^~~~
1 error generated.
....
I'm trying to reproduce it locally - but until I do and figure out why exactly, would you consider reverting? Thanks
https://github.com/llvm/llvm-project/pull/106311
More information about the llvm-commits
mailing list