Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
GLib
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 933
    • Issues 933
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 57
    • Merge Requests 57
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • GLib
  • Issues
  • #885

Closed
Open
Opened Jun 06, 2014 by bugzilla-migration@bugzilla-migrationReporter

gutils.c uses deprecated FSFindFolder

Submitted by Daniel Macks @dmacks

Link to original bug (#731313)

Description

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?

Version: 2.38.x

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/glib#885