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 931
    • Issues 931
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 51
    • Merge Requests 51
  • 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
  • Merge Requests
  • !271

Merged
Opened Aug 24, 2018 by Christoph Reiter@creiter🐍Developer

autotools: use C99 printf format specifiers on Windows. Fixes #1497

  • Overview 5
  • Commits 1
  • Pipelines 1
  • Changes 1

Since we now require a C99 compatible printf and use gnulib on Windows, we also mark our printf functions as gnu_printf. GCC complains about the Windows specific I64 specifiers we still write to glibconfig.h with the autotools build.

To fix this switch all I64(x) to ll(x).

This also makes the glibconfig.h output for those macros match the ones we get when using meson.

Edited Aug 24, 2018 by Christoph Reiter
Assignee
Assign to
Reviewer
Request review from
2.58
Milestone
2.58 (Past due)
Assign milestone
Time tracking
Reference: GNOME/glib!271
Source branch: autotools-mingw-c99-format

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.