![]() Some sources seem to imply these values are determined by the compiler settings? And I can't tell what Availability.h wants anymore.įor what it's worth, this project uses CMake to build, and doesn't use Xcode projects directly. I tried to figure out what's going on, and I'm just getting mixed signals: some sources on Apple's developer site tell me it's really _MAC_OS_X_VERSION_MIN_REQUIRED (and use a number instead of a symbolic constant for the version itself), while others tell me I'm right. Static const NSControlSize NSRegularControlSize API_DEPRECATED_WITH_REPL.Īs if the macros I provided are being ignored. 'NSRegularControlSize' has been explicitly marked deprecated here ![]() Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/amework/Headers/NSCell.h:102:28: note: UiDarwinSetControlFont(t, NSRegularControlSize) 'NSRegularControlSize' is deprecated: first deprecated in macOS 10.12 However, after upgrading to 10.12 and Xcode 8 last night, I am suddenly seeing a whole bunch of deprecation warnings, such as /Users/pietro/src//andlabs/libui/darwin/entry.m:181:28: warning: So far this has worked I've seen nothing about functions deprecated after 10.9. ![]() In the shared header file for the Cocoa code. #define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_8 My libui project must both compile on and target OS X 10.8 and newer, so I have #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_8 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |