Skip to content

Handle MinGW-w64 UCRT integer format - #767

Open
KartikeyG-world wants to merge 1 commit into
akheron:masterfrom
KartikeyG-world:fix/mingw-ucrt-integer-format
Open

KartikeyG-world wants to merge 1 commit into
akheron:masterfrom
KartikeyG-world:fix/mingw-ucrt-integer-format

Conversation

@KartikeyG-world

@KartikeyG-world KartikeyG-world commented Oct 18, 2026 •

Copy link
Copy Markdown

Summary

  • Use the standard lld integer format for MinGW-w64 builds targeting UCRT while preserving the existing format for other Windows configurations.
  • Apply corresponding UCRT detection during CMake configuration.
  • Add a regression test for exact serialization of a large 64-bit integer.

Closes #752

Validation

  • git diff --check passed.
  • A C11 syntax-only compilation was attempted but could not proceed because the generated jansson_private_config.h file was unavailable.
  • The full project test suite was not run.
  • UCRT and legacy MSVCRT behavior have not been verified locally because the required toolchains are unavailable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON_INTEGER_FORMAT "I64d" triggers GCC format warnings on mingw-w64/UCRT

1 participant