-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Compilation error when using MOCK_METHOD1 from GMock and nlohmann::json #1212
Comments
This looks related to #960 |
It reminds me of #1067. @urbanekpj Could you check if the change from PR #1067 fixes your issue? |
when i took it directly it didn't fix my issue .
helped.
vs
but still it magic for me :) |
Hello, could you try the problematic code with the changes made in #1228? I had a similar issue with a different mocking library and it fixed it, but I'd like to know that it fixes yours as well :) |
@theodelrieu after quick test: it works for me also. |
Fixed after merging #1228. |
Compilation error
code :
code compiled
compilation errors:
vs 15.8.1
gtest_1.8.0-9 ( build via vcpkg )
develop
branch?build via vcpkg Version: 3.2.0
compiled; passed
NOTE: I'm not sure if it is problem to solve on GTest or Json side, but is working with other types.
NOTE: related? Build of unit tests fails in clang with c++11 google/googletest#1565
NOTE: im offline in next week,
The text was updated successfully, but these errors were encountered: