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

Need inlined u8string_to_wstring? #1977

Closed
vytools opened this issue Nov 14, 2024 · 1 comment
Closed

Need inlined u8string_to_wstring? #1977

vytools opened this issue Nov 14, 2024 · 1 comment

Comments

@vytools
Copy link

vytools commented Nov 14, 2024

It looks like the commit: 9dd565b
adds a definition
"u8string_to_wstring"
with my application I now get
fatal error LNK1169: one or more multiply defined symbols found for that definition.
Could it be inlined?

#if defined(_WIN32) inline std::wstring u8string_to_wstring(const char *s) {

I'm happy to do a pull request, but I'm sure it would be easier for you to fix than to give me permissions :). Thanks.

@yhirose
Copy link
Owner

yhirose commented Nov 14, 2024

@vytools thanks for the report!

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

No branches or pull requests

2 participants