From 179c175a6cdd7969538fdf7f19b97dcdc7ac9dc9 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Fri, 3 Feb 2017 13:56:02 +0000 Subject: [PATCH] Ignore warnings about OSAtomicIncrement32Barrier The warnings suggest moving to std::atomic functions, but those are only available in C++11. It would be possible to switch to the C versions of those functions, which are now provided in stdatoic.h (in C11), but let's wait until we actually hit problems with this function and are a few more OS versions into C11 headers being included by default. --- taglib/toolkit/trefcounter.h | 1 + 1 file changed, 1 insertion(+) diff --git a/taglib/toolkit/trefcounter.h b/taglib/toolkit/trefcounter.h index bc3cdd9b..db97c538 100644 --- a/taglib/toolkit/trefcounter.h +++ b/taglib/toolkit/trefcounter.h @@ -30,6 +30,7 @@ #include "taglib.h" #ifdef __APPLE__ +# define OSATOMIC_DEPRECATED 0 # include # define TAGLIB_ATOMIC_MAC #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)