8000 Fix wchar_t in C bindings, add MinGW to CI to reproduce issue (#1273) by ufleisch · Pull Request #1275 · taglib/taglib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix wchar_t in C bindings, add MinGW to CI to reproduce issue (#1273) #1275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 14, 2025

Conversation

ufleisch
Copy link
Contributor
@ufleisch ufleisch commented Jun 8, 2025

No description provided.

ufleisch added 3 commits June 8, 2025 08:40
This will fail on MinGW because its gcc does not have wchar_t without
including wchar.h. With g++ as used with test_tag_c.cpp, the problem is
undetected because g++ supports wchar_t without including wchar.h.
In C++, wchar_t is a built-in fundamental type, but in C, it is not.
Compilation with MinGW will fail without a header included which
defines wchar_t (wchar.h or stddef.h). The other compilers used in our
CI (gcc on Ubuntu, clang on macOS and MSVC on Windows) seem to
know wchar_t without an include.
@ufleisch ufleisch merged commit 6563cea into taglib:master Jun 14, 2025
4 checks passed
@ufleisch ufleisch deleted the c-bindings-fix-wchar branch June 14, 2025 06:56
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 mer 36B0 ging this pull request may close these issues.

1 participant
0