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

Update ttlib_wx with UNIX updates, replace %kv #781

Merged
merged 1 commit into from Aug 9, 2022
Merged

Update ttlib_wx with UNIX updates, replace %kv #781

merged 1 commit into from Aug 9, 2022

Conversation

Randalphwa
Copy link
Collaborator

This PR updates ttLib_wx with changes supporting UNIX compilers. It also replaces use of ttLib::cstr.Format("%kv", ...) with ttLib::cstr.Format("%ks", ...) passing .c_str() as the argument instead of std::stringview. While this works in the Microsoft c++20 compilers, it fails under gcc 11 and clang 12 due to changes in the specification in C++20. The easiest solution is simply to pass a const char* pointer.

@Randalphwa Randalphwa merged commit 890b48f into main Aug 9, 2022
@Randalphwa Randalphwa deleted the derived branch August 9, 2022 12:28
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.

None yet

1 participant