Displaying 2 results from an estimated 2 matches for "__sanitizer_common".
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
...have a general solution that would prevent this issue from happening in the future.
+ Bob, who reported the problem.
Anna.
>
> For this particular problem we could just rename sanitizer internal constants.
>
> Maybe doing something like "namespace __tsan { using namespace
> __sanitizer_common; }" will help to resolve it in general case. But I
> am not sure, need to know what system headers do.
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
Hi Sanitizer Runtime Developers,
We recently ran into a problem building clang because some of the definitions in sanitizer_common conflicted with system definitions and later another system header was trying to use the system definition:
.../usr/include/libkern/OSAtomicDeprecated.h:756:17: error: reference to 'memory_order_relaxed' is ambiguous
__theAmount, memory_order_relaxed) +