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
Combine no longer available in Visual Studio 2017 #1352
Comments
Our tests use ::testing::Combine from googletest. We only care to run in the environments where that is available, i.e. all reasonably new compilers and runtimes. Work around the accidental disabling of ::testing::Combine in VS 2017. See google/googletest#1352
Work around faulty logic in googletest, where ::testing::Combine is accidentally disabled for VS 2017. See google/googletest#1352
Work around faulty logic in googletest, where ::testing::Combine is accidentally disabled for VS 2017. See google/googletest#1352
gtest-port.h should probably have this:
|
Work around faulty logic in googletest, where ::testing::Combine is accidentally disabled for VS 2017. See google/googletest#1352
Work around faulty logic in googletest, where ::testing::Combine is accidentally disabled for VS 2017. See google/googletest#1352
I have been cleaning up older and inactive GitHub googletest issues. You may see an issue "closed" if it appears to be inactive/abandoned |
This bug is affecting cross-platform code (it seems that people still need to workaround this). The fix should be simple (as suggested by reid-p@), so why not just fix it? |
On Thu, Dec 27, 2018 at 6:30 PM Leonard Mosescu ***@***.***> wrote:
This bug is affecting cross-platform code (it seems that people still need
to workaround this).
The fix should be simple (as suggested by reid-p@), so why not just fix
it?
Is this still a problem?
GET_HAS_COMBINE is no longer a thing as it is unconditionally supported now
with C++11.
… —
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1352 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANcRPdCbDLFvRILIxPirIJVgNs2B7SnPks5u9VgPgaJpZM4Q7o-N>
.
|
Nevermind, I was looking at an older snapshot. I can confirm that it's no longer an issue, thanks! |
By removing the C4996 mentionned in the pull request #1348 which solved the tr1::tuple deprecated warning, Combine is no longer available. This is due to the following line in gtest-port.h:
Because GTEST_HAS_TR1_TUPLE is not activated, GTEST_HAS_COMBINE is not set, disabling testing::Combine even though is was working fine in Visual Studio 2017 before.
The text was updated successfully, but these errors were encountered: