doc: update docs for CHECK_ATOMIC macro

Clarify that supported versions of GCC are not affected, and that Clang
prior to version 15 still requires the explicit -latomic linking, when
compiling for 32-bit.
pull/28777/head
fanquake 1 year ago
parent 023418a140
commit ebc7063c80
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -4,8 +4,10 @@ dnl permitted in any medium without royalty provided the copyright notice
dnl and this notice are preserved. This file is offered as-is, without any dnl and this notice are preserved. This file is offered as-is, without any
dnl warranty. dnl warranty.
# Some versions of gcc/libstdc++ require linking with -latomic if # Clang prior to version 15, when building for 32-bit,
# using the C++ atomic library. # and linking against libstdc++, requires linking with
# -latomic if using the C++ atomic library.
# Can be tested with: clang++ test.cpp -m32
# #
# Sourced from http://bugs.debian.org/797228 # Sourced from http://bugs.debian.org/797228

Loading…
Cancel
Save