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

Remove std:: from sprintf #42091

Merged

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: None

Purpose of change

Due to libintl #defineing sprintf, you can't use a std:: prefix on it.

We had the same problem the last two times we upgraded Catch (see #31950, #39817).

Describe the solution

Remove std:: in catch.hpp

Due to libintl #defining sprintf, you can't use a std:: prefix on it.
So tweak catch.hpp accordingly.
@ZhilkinSerg
Copy link
Contributor

Third time the charm.

@ZhilkinSerg ZhilkinSerg merged commit cd7577a into CleverRaven:master Jul 13, 2020
@jbytheway jbytheway deleted the fix_catch_on_windows_202007 branch July 13, 2020 13:12
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