-
Notifications
You must be signed in to change notification settings - Fork 325
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
multiply symbols errors from: Win32Exception(const char* message) #1129
Comments
Nope, you're not missing anything. That function is indeed missing Likely none of the Bond tests use |
@coinoperated0428 - I just sent a PR to fix this issue. I think there needs to be a PR to update |
Thanks for the PR! Looks good to me, with two minor things. |
`bond::ext::grpc::detail::Win32Exception` is not marked inline which could lead to multiple symbol definition. Mark that function inline. Fixes #1129
Fix merged. Thanks, @coinoperated0428 for the report and @bhardwajs for this fix. I'm not planning to cut a release with the changes in master since 9.0.5 for a while. vcpkg can use arbitrary commits, so I don't expect this to be a problem. |
Getting multiply symbol definition errors that appear to be a result of multiple includes from file:
vcpkg\installed\x64-windows\include\bond\ext\grpc\win_thread_pool.h
I was able to correct by adding inline specifier to the header file code definition i.e.:
inline BOND_NORETURN void Win32Exception(const char* message)
I'm i missing something fundamental here?
building bond gRPC enabled C++ native app using Visual Studio 2019 Enterprise v16.11.4 using C++17 language standard
The text was updated successfully, but these errors were encountered: