From 17a573782abd0c6ad5c9f11d1fb2b6847973c90e Mon Sep 17 00:00:00 2001 From: Chupligin Sergey Date: Fri, 24 Sep 2021 20:12:40 +0300 Subject: [PATCH] Fix spelling of warning Part-of: --- src/pulsecore/atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulsecore/atomic.h b/src/pulsecore/atomic.h index 2fa1470de..b5036ad26 100644 --- a/src/pulsecore/atomic.h +++ b/src/pulsecore/atomic.h @@ -285,7 +285,7 @@ static inline int pa_atomic_ptr_cmpxchg(pa_atomic_ptr_t *a, void *old_p, void* n #elif defined(__GNUC__) && (defined(__amd64__) || defined(__x86_64__)) -#warn "The native atomic operations implementation for AMD64 has not been tested thoroughly. libatomic_ops is known to not work properly on AMD64 and your gcc version is too old for the gcc-builtin atomic ops support. You have three options now: test the native atomic operations implementation for AMD64, fix libatomic_ops, or upgrade your GCC." +#warning "The native atomic operations implementation for AMD64 has not been tested thoroughly. libatomic_ops is known to not work properly on AMD64 and your gcc version is too old for the gcc-builtin atomic ops support. You have three options now: test the native atomic operations implementation for AMD64, fix libatomic_ops, or upgrade your GCC." /* Adapted from glibc */