Skip to content

Commit ebc7063

Browse files
committed
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.
1 parent 023418a commit ebc7063

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)