Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Dec 12, 2025

Fix several ISO_C_BINDING type parameters for Windows compatibility:

Fixes issue reported in msys2/MINGW-packages#16579

🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.5 [email protected]

Fix several ISO_C_BINDING type parameters for Windows compatibility:

- c_long/c_unsigned_long: Use 32-bit on Windows (LLP64 data model)
- c_long_double: Use 64-bit (kind=8) on Windows ARM64
  Windows-on-ARM-Experiments/mingw-woarm64-build#9 (comment)
- c_unsigned_long_long: Explicitly use c_uint64_t instead of
  depending on c_unsigned_long
- c_uintmax_t: Use 64-bit on Windows (consistent with MSVC/MinGW)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Dec 12, 2025
@vtjnash vtjnash requested a review from klausler December 12, 2025 19:58
@klausler klausler removed their request for review December 12, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flang Flang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants