tvl-depot/absl
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
..
algorithm Export of internal Abseil changes 2020-04-04 17:08:50 -04:00
base Export of internal Abseil changes 2020-04-07 21:50:15 -04:00
container Export of internal Abseil changes 2020-04-04 17:08:50 -04:00
copts Fix ABSL_RANDOM_RANDEN_COPTS setting on FreeBSD (#664) 2020-04-14 12:14:44 -04:00
debugging Export of internal Abseil changes 2020-03-20 16:56:39 -04:00
flags Export of internal Abseil changes 2020-04-04 17:08:50 -04:00
functional Export of internal Abseil changes 2020-02-21 15:56:04 -05:00
hash Export of internal Abseil changes 2020-03-10 13:59:49 -04:00
memory Export of internal Abseil changes 2020-02-21 15:56:04 -05:00
meta Export of internal Abseil changes 2019-12-12 15:37:13 -05:00
numeric Export of internal Abseil changes 2020-03-09 16:10:21 -04:00
random Export of internal Abseil changes 2020-04-07 21:50:15 -04:00
status Use base_internal::AtomicHook instead of std::atomic (#661) 2020-04-14 17:25:55 -04:00
strings Export of internal Abseil changes 2020-04-11 06:40:20 -04:00
synchronization Export of internal Abseil changes 2020-03-23 16:24:45 -04:00
time Export of internal Abseil changes 2020-04-04 17:08:50 -04:00
types Export of internal Abseil changes 2020-04-01 15:19:51 -04:00
utility Export of internal Abseil changes 2019-12-12 15:37:13 -05:00
abseil.podspec.gen.py Export of internal Abseil changes 2020-02-13 13:56:56 -05:00
BUILD.bazel Export of internal Abseil changes 2020-04-11 06:40:20 -04:00
CMakeLists.txt Export of internal Abseil changes 2020-02-25 13:12:47 -05:00
compiler_config_setting.bzl Export of internal Abseil changes. 2019-03-19 14:19:10 -04:00