Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 875
    • Issues 875
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & 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
  • GNOME
  • GLib
  • Merge requests
  • !271

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christoph Reiter requested to merge autotools-mingw-c99-format into master Aug 24, 2018
  • 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
Time tracking
Source branch: autotools-mingw-c99-format