Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,105
    • Issues 4,105
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • 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
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Merge requests
  • !6762

mingw: fix calling convention for strftime()

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christoph Reiter requested to merge lazka/cmake:fix-mingw-strftime-crash into master Nov 25, 2021
  • Overview 4
  • Commits 1
  • Pipelines 3
  • Changes 1

strftime uses __cdecl and not __stdcall. This was exposed by refactoring in !6737 (merged).

This fixes a crash creating a timestamp with clang+mingw-w64 targeting x86.

Fixes: #22939 (closed)
Backport: release
Topic-rename: mingw-strftime-crash

Edited Nov 30, 2021 by Brad King
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-mingw-strftime-crash