steinbergmedia / vst3sdk

VST 3 Plug-In SDK
Other
1.59k stars 162 forks source link

FUnknown uses deprecated OSAtomicAdd32Barrier on macOS #32

Closed nktzbkv closed 4 years ago

nktzbkv commented 5 years ago

The following warning is generated by clang on macOS:

pluginterfaces/base/funknown.cpp:73:9: warning: 'OSAtomicAdd32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_fetch_add() from <atomic> instead
      [-Wdeprecated-declarations]
        return OSAtomicAdd32Barrier (d, (int32_t*)&var);
               ^
/usr/include/libkern/OSAtomicDeprecated.h:161:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
1 warning generated.

This warning is really annoying in CI and command line test runs.

scheffle commented 4 years ago

This should be fixed now with the 3.6.14 release.