Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 853
    • Issues 853
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Issues
  • #2759
Closed
Open
Issue created Sep 20, 2022 by Peter Williams@pkgwContributor

gosxcontenttype.m compile failure with -Werror=declaration-after-statement

conda-forge is seeing a compile failure on macOS due to the declaration-after-statement Werror flag:

x86_64-apple-darwin13.4.0-clang [...]  -Werror=declaration-after-statement [...] -c ../gio/gosxcontenttype.m
../gio/gosxcontenttype.m:63:11: error: mixing declarations and code is incompatible with standards before C99 [-Werror,-Wdeclaration-after-statement]
  CFIndex length = CFStringGetLength (str);

This is with Clang 14.0.4.

Assignee
Assign to
Time tracking