Skip to content

Instantly share code, notes, and snippets.

@liangqi
Created May 16, 2013 06:28
Show Gist options
  • Save liangqi/5589763 to your computer and use it in GitHub Desktop.
Save liangqi/5589763 to your computer and use it in GitHub Desktop.
/Users/liangqi/qt/qt5-2/qtbase/src/plugins/platforms/cocoa/qpaintengine_mac.mm:365:5: warning: 'CMProfileRef' is deprecated [-Wdeprecated-declarations]
CMProfileRef displayProfile = 0;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSyncDeprecated.h:1002:41: note:
'CMProfileRef' declared here
typedef struct OpaqueCMProfileRef* CMProfileRef DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
^
/Users/liangqi/qt/qt5-2/qtbase/src/plugins/platforms/cocoa/qpaintengine_mac.mm:379:5: warning: 'CMError' is deprecated [-Wdeprecated-declarations]
CMError err = CMGetProfileByAVID((CMDisplayIDType)displayID, &displayProfile);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSyncDeprecated.h:999:41: note:
'CMError' declared here
typedef OSStatus CMError DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
^
/Users/liangqi/qt/qt5-2/qtbase/src/plugins/platforms/cocoa/qpaintengine_mac.mm:379:39: warning: 'CMDisplayIDType' is deprecated [-Wdeprecated-declarations]
CMError err = CMGetProfileByAVID((CMDisplayIDType)displayID, &displayProfile);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSyncDeprecated.h:1018:41: note:
'CMDisplayIDType' declared here
typedef UInt32 CMDisplayIDType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
^
/Users/liangqi/qt/qt5-2/qtbase/src/plugins/platforms/cocoa/qpaintengine_mac.mm:379:19: warning: 'CMGetProfileByAVID' is deprecated [-Wdeprecated-declarations]
CMError err = CMGetProfileByAVID((CMDisplayIDType)displayID, &displayProfile);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSyncDeprecated.h:2432:1: note:
'CMGetProfileByAVID' declared here
CMGetProfileByAVID(
^
/Users/liangqi/qt/qt5-2/qtbase/src/plugins/platforms/cocoa/qpaintengine_mac.mm:390:5: warning: 'CMCloseProfile' is deprecated [-Wdeprecated-declarations]
CMCloseProfile(displayProfile);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSyncDeprecated.h:1972:1: note:
'CMCloseProfile' declared here
CMCloseProfile(CMProfileRef prof) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
^
5 warnings generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment