ReactiveObjC icon indicating copy to clipboard operation
ReactiveObjC copied to clipboard

OSAtomic deprecation in iOS 10.0

Open haifengkao opened this issue 5 years ago • 1 comments

Hello/Pods/ReactiveObjC/ReactiveObjC/RACMulticastConnection.m:54:23: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACMulticastConnection.m:68:4: 'OSAtomicIncrement32Barrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_add() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:183:9: 'OSAtomicIncrement32Barrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACMulticastConnection.m:76:9: 'OSAtomicDecrement32Barrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_sub() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:202:9: 'OSAtomicDecrement32Barrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACSignal.m:116:8: 'OSAtomicDecrement32Barrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_sub() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:202:9: 'OSAtomicDecrement32Barrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACSignal.m:125:4: 'OSAtomicIncrement32Barrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_add() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:183:9: 'OSAtomicIncrement32Barrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACDisposable.m:38:2: 'OSMemoryBarrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_thread_fence() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: 'OSMemoryBarrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACDisposable.m:49:2: 'OSMemoryBarrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_thread_fence() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: 'OSMemoryBarrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACDisposable.m:72:7: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:548:6: 'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACDynamicSequence.m:119:6: 'OSAtomicIncrement32' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_add_explicit(memory_order_relaxed) from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:172:9: 'OSAtomicIncrement32' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACDynamicSequence.m:120:3: 'OSAtomicAdd32' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_add_explicit(memory_order_relaxed) from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:147:9: 'OSAtomicAdd32' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACCommand.m:56:3: 'OSAtomicOr32Barrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_or() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:345:9: 'OSAtomicOr32Barrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACCommand.m:58:3: 'OSAtomicAnd32Barrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_and() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:401:9: 'OSAtomicAnd32Barrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACSignal+Operations.m:701:8: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:548:6: 'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACSignal+Operations.m:1054:21: 'OSAtomicIncrement32' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_add_explicit(memory_order_relaxed) from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:172:9: 'OSAtomicIncrement32' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACSignal+Operations.m:1057:5: 'OSAtomicDecrement32' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_sub_explicit(memory_order_relaxed) from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:191:9: 'OSAtomicDecrement32' has been explicitly marked deprecated here
Hello/Pods/ReactiveObjC/ReactiveObjC/RACSignal+Operations.m:1061:6: 'OSAtomicDecrement32' is deprecated: first deprecated in iOS 10.0 - Use atomic_fetch_sub_explicit(memory_order_relaxed) from <stdatomic.h> instead
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/OSAtomicDeprecated.h:191:9: 'OSAtomicDecrement32' has been explicitly marked deprecated here

haifengkao avatar Aug 05 '20 05:08 haifengkao

Fixed in my PR: https://github.com/ReactiveCocoa/ReactiveObjC/pull/178

cntrump avatar Aug 18 '20 07:08 cntrump