Skip to content

Commit 9c4b74f

Browse files
committed
Merge bitcoin/bitcoin#28777: doc: update docs for CHECK_ATOMIC macro
ebc7063 doc: update docs for CHECK_ATOMIC macro (fanquake) Pull request description: 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. ACKs for top commit: hebasto: ACK ebc7063. Tree-SHA512: 6044dc28547431cfde7e89b663b5f9a86a4cb801212a21c3dbb18a1c41a53640480c3e4e944050dc3ec4cded9bc4c1f8eae8dbb60596289fef49bb13a8b53b76
2 parents 95a3934 + ebc7063 commit 9c4b74f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build-aux/m4/l_atomic.m4

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ dnl permitted in any medium without royalty provided the copyright notice
44
dnl and this notice are preserved. This file is offered as-is, without any
55
dnl warranty.
66

7-
# Some versions of gcc/libstdc++ require linking with -latomic if
8-
# using the C++ atomic library.
7+
# Clang prior to version 15, when building for 32-bit,
8+
# and linking against libstdc++, requires linking with
9+
# -latomic if using the C++ atomic library.
10+
# Can be tested with: clang++ test.cpp -m32
911
#
1012
# Sourced from http://bugs.debian.org/797228
1113

0 commit comments

Comments
 (0)