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

fixes MSVC compiler warning bloat (Visual Studio 2017, latest updates) #705

Merged
merged 1 commit into from
Apr 11, 2018
Merged

fixes MSVC compiler warning bloat (Visual Studio 2017, latest updates) #705

merged 1 commit into from
Apr 11, 2018

Conversation

christianparpart
Copy link
Contributor

Hi,

first, thanks for the great library. I am currently porting my own software to Windows and it turned out that MSVC/VS2017 is complaining a lot in my code (99% of the build output is fmt lib related).

It turned out that I could track it down to the following change of this PR.

There might be surely another way (I didn't dig too deep into the template-voodoo of this project), such as the template-ification of align_spec, so that in line 1144 (wchar_t fill_;) would be more generic. But I'd like to get your feedback, and probably an early merge, so that I do not need to manually patch locally.

Best regards,
Christian Parpart.

@vitaut vitaut merged commit 48ae050 into fmtlib:master Apr 11, 2018
@vitaut
Copy link
Contributor

vitaut commented Apr 11, 2018

Thanks for the PR, merged! Making align_spec a template is another options, but I think casting is fine for now.

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