Discussion:
[Cucumber] [CPP] Build fails with latest Visual Studio
(too old to reply)
Hans Kester
2018-06-19 13:28:52 UTC
Permalink
When I follow the build instructions from
https://github.com/cucumber/cucumber-cpp/tree/master I get errors in the
step "cmake --build build". The problem seems to be that Google Test treats
errors as warnings:

d:\development\cucumber-cpp\build\gmock\src\gmock\googletest\include\gtest\internal\gtest-port.h(996):
error C2220: warning treated as error - no 'object' file generated
[D:\Development\cucumber-cpp\build\gmock\src\gmock-build\googlemock\gmock.vcxproj]
d:\development\cucumber-cpp\build\gmock\src\gmock\googletest\include\gtest\internal\gtest-port.h(996):
warning C4996: 'std::tr1': warning STL4002: The non-Standard std::tr1
namespace and TR1-only machinery are deprecated and will be REMOVED. You
can define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING to acknowledge that
you have received this warning.
[D:\Development\cucumber-cpp\build\gmock\src\gmock-build\googlemock\gmock.vcxproj]
c:\program files (x86)\microsoft visual
studio\2017\professional\vc\tools\msvc\14.14.26428\include\tuple(1163):
note: see declaration of 'std::tr1'

I use Visual Studio 2017 version 15.4

How do I fix this?
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...