Deprecation warning in Mac OS X
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
[630/13533] Building CXX object ParaViewCore/ClientServerCore/Default/CMakeFiles/vtkPVClientServerCoreDefault.dir/vtkPVFileInformation.cxx.o /Users/cory.quammen/src/paraview/ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx:550:19: warning: 'FSGetVolumeInfo' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] while (noErr == FSGetVolumeInfo(kFSInvalidVolumeRefNum, idx++, NULL, ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:3936:15: note: 'FSGetVolumeInfo' has been explicitly marked deprecated here extern OSErr FSGetVolumeInfo(FSVolumeRefNum volume, ItemCount volumeIndex, FSVolumeRefNum *actualVolume, FSVolumeInfoBitmap whichInfo, FSVolumeInfo *info, HFSUniStr255 *volumeName, FSRef *rootDirectory) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA); ^ /Users/cory.quammen/src/paraview/ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx:553:28: warning: 'CFURLCreateFromFSRef' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] CFURLRef resolvedUrl = CFURLCreateFromFSRef(NULL, &ref); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:471:10: note: 'CFURLCreateFromFSRef' has been explicitly marked deprecated here CFURLRef CFURLCreateFromFSRef(CFAllocatorRef allocator, const struct FSRef *fsRef) CF_DEPRECATED(10_0, 10_9, 2_0, 7_0); ^ /Users/cory.quammen/src/paraview/ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx:612:51: warning: 'NewHandle' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] AliasHandle tAliasHdl = (AliasHandle) NewHandle(dataSize); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:451:1: note: 'NewHandle' has been explicitly marked deprecated here NewHandle(Size byteCount) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA); ^ /Users/cory.quammen/src/paraview/ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx:619:28: warning: 'FSResolveAlias' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] if (noErr == FSResolveAlias(NULL, tAliasHdl, &tFSRef, &changed)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h:259:1: note: 'FSResolveAlias' has been explicitly marked deprecated here FSResolveAlias( ^ /Users/cory.quammen/src/paraview/ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx:621:40: warning: 'CFURLCreateFromFSRef' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] CFURLRef resolvedUrl = CFURLCreateFromFSRef(NULL, &tFSRef); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:471:10: note: 'CFURLCreateFromFSRef' has been explicitly marked deprecated here CFURLRef CFURLCreateFromFSRef(CFAllocatorRef allocator, const struct FSRef *fsRef) CF_DEPRECATED(10_0, 10_9, 2_0, 7_0); ^ /Users/cory.quammen/src/paraview/ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx:629:15: warning: 'DisposeHandle' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] DisposeHandle((Handle)tAliasHdl); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:1278:1: note: 'DisposeHandle' has been explicitly marked deprecated here DisposeHandle(Handle h) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA); ^ 6 warnings generated.