Displaying 2 results from an estimated 2 matches for "sanitizer_atomic".
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
...ry_order_relaxed) + __theAmount);
^
.../usr/bin/../include/c++/v1/atomic:548:5: note: candidate found by name lookup is 'std::__1::memory_order::memory_order_relaxed'
memory_order_relaxed, memory_order_consume, memory_order_acquire,
^
../src/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_atomic.h:22:3: note: candidate found by name lookup is '__sanitizer::memory_order::memory_order_relaxed'
memory_order_relaxed = 1 << 0,
^
The problem is due to the combination of the following:
1. The runtime includes the system headers after the project headers (as per LLVM coding guidel...
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
....../usr/bin/../include/c++/v1/atomic:548:5: note: candidate found by name
>> lookup is 'std::__1::memory_order::memory_order_relaxed'
>> memory_order_relaxed, memory_order_consume, memory_order_acquire,
>> ^
>> ../src/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_atomic.h:22:3:
>> note: candidate found by name lookup is
>> '__sanitizer::memory_order::memory_order_relaxed'
>> memory_order_relaxed = 1 << 0,
>> ^
>>
>>
>> The problem is due to the combination of the following:
>> 1. The runtime includes...