Subject: | FSFindFolder and FSRefMakePath deprecated |
On recent macOS versions, clang reports:
Tcl.xs:231:10: warning: 'FSFindFolder' is deprecated: first deprecated in macOS
10.8 [-Wdeprecated-declarations]
oserr = FSFindFolder(DOMAINS[i], kFrameworksFolderType,
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h:286:1: note:
'FSFindFolder' has been explicitly marked deprecated here
FSFindFolder(
^
Tcl.xs:236:10: warning: 'FSRefMakePath' is deprecated: first deprecated in macOS
10.8 [-Wdeprecated-declarations]
oserr = FSRefMakePath(&ref, (UInt8*)libname, sizeof(libname));
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:4086:18: note:
'FSRefMakePath' has been explicitly marked deprecated here
extern OSStatus FSRefMakePath(const FSRef *ref, UInt8 *path, UInt32 pat...
^