tvl-depot/absl/status
Pavel Samolysov 2946ac0dea
Use base_internal::AtomicHook instead of std::atomic (#661)
* Use base_internal::AtomicHook instead of std::atomic

std::atomic has a broken implementation on the Windows platform and it
is not conform to the ABSL_CONST_INIT macro when clang-cl is used as a
compiler: the macro is expanded to the [[clang::require_constant_initialization]]
attribute and the attribute cannot be applied to the broken std::atomic.

Therefore, std::atomic has been replaced with absl::base_internal::AtomicHook
to fix the compilation error (thank Derek Mauro for the suggestion).

Issue: #659

Signed-off-by: Pavel Samolysov <samolisov@gmail.com>

* Update build files for pull request

Co-authored-by: Derek Mauro <dmauro@google.com>
2020-04-14 17:25:55 -04:00
..
BUILD.bazel Use base_internal::AtomicHook instead of std::atomic (#661) 2020-04-14 17:25:55 -04:00
CMakeLists.txt Use base_internal::AtomicHook instead of std::atomic (#661) 2020-04-14 17:25:55 -04:00
status.cc Export of internal Abseil changes 2020-03-10 13:59:49 -04:00
status.h Export of internal Abseil changes 2020-03-10 13:59:49 -04:00
status_payload_printer.cc Use base_internal::AtomicHook instead of std::atomic (#661) 2020-04-14 17:25:55 -04:00
status_payload_printer.h Export of internal Abseil changes 2020-02-20 15:37:22 -05:00
status_test.cc Export of internal Abseil changes 2020-03-03 17:32:55 -05:00