gutils.c uses deprecated FSFindFolder
Submitted by Daniel Macks
Building glib-2.38.2 on OS X 10.8 (using -arch x86_64 to force a single architecture)...
CC libglib_2_0_la-gutils.lo gutils.c:1424:7: warning: 'FSFindFolder' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] if (FSFindFolder (kUserDomain, type, kDontCreateFolder, &found) == noErr) ^ /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h:286:1: note: 'FSFindFolder' declared here FSFindFolder( ^ 1 warning generated.
The code itself is inside an #ifdef HAVE_CARBON block. I thought carbon itself was deprecated or not really functional on 64-bit? So maybe the "real" bug is in HAVE_CARBON being a "presence" vs "viability" test of some sort?