Skip to content

mingw: fix calling convention for strftime()

Christoph Reiter requested to merge lazka/cmake:fix-mingw-strftime-crash into master

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 by Brad King

Merge request reports