Skip to content

Override libzip check for snprintf on MSVC - #110

Merged
arun3688 merged 1 commit into
OpenModelica:masterfrom
robbr48:fix_libzip_snprintf_check_msvc
Aug 27, 2026
Merged

arun3688 merged 1 commit into
OpenModelica:masterfrom
robbr48:fix_libzip_snprintf_check_msvc

Conversation

@robbr48

@robbr48 robbr48 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Libzip checks for snprintf, but the check does not work on modern MSVC since snprintf is declared as an inline function and not a symbol. This causes libzip to redefine snprintf, which MSVC compiler does not allow.

I believe this will solve the problem, but I have no MSVC compiler setup so I cannot test it myself.

@robbr48
robbr48 requested a review from arun3688 August 27, 2026 06:59
@robbr48

robbr48 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

@arun3688
arun3688 merged commit 46a8671 into OpenModelica:master Aug 27, 2026
6 checks passed
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.

2 participants