Skip to content
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

Compilation failure using mingw32 when -Wconversion is enabled. #4199

Closed
wants to merge 4 commits into from

Conversation

vinayyadav3016
Copy link
Contributor

mingw32 cause compilation failure when -Wconversion is enabled while cross compiling for win32 application using MXE environment because long unsigned int != size_t (aka long long unsigned int).

when FMT_PEDANTIC && FMT_WERROR options are enabled
"""
error: useless cast to type 'class fmt::v10::basic_format_args<fmt::v10::basic_format_context<fmt::v10::appender, char> >' [-Werror=useless-cast]
 1449 |                      basic_format_args<buffer_context<char>>(args));
"""
cross compiling for win32 application using MXE environment because
long unsigned int != size_t (aka long long unsigned int)
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.

1 participant