You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing compile error if compiling with Googletest 1.10 or master/latest:
---------- ERRORS occurred while compiling file D:\git\s7p\work3\s7p.base\vdk\signals-master\tests\tests.cpp
In file included from D:\git\s7p\work3\s7p.base\google\test-1.10\googletest\include/gtest/gtest.h:71,
from D:/git/s7p/work3/s7p.base/vdk/signals-master/tests/tests.cpp:14:
D:\git\s7p\work3\s7p.base\google\test-1.10\googletest\include/gtest/gtest-typed-test.h:227:38: error: 'constexpr bool testing::internal::TypedTestCaseIsDeprecated()' is deprecated: TYPED_TEST_CASE is deprecated, please use TYPED_TEST_SUITE [-Werror=deprecated-declarations]
227 | static_assert(::testing::internal::TypedTestCaseIsDeprecated(), ""); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
D:/git/s7p/work3/s7p.base/vdk/signals-master/tests/tests.cpp:201:1: note: in expansion of macro 'TYPED_TEST_CASE'
201 | TYPED_TEST_CASE(SignalsTest, TestTypes);
| ^~~~~~~~~~~~~~~
Renaming from TYPED_TEST_CASE to TYPED_TEST_SUITE solves the problem.
The text was updated successfully, but these errors were encountered:
I'm facing compile error if compiling with Googletest 1.10 or master/latest:
Renaming from TYPED_TEST_CASE to TYPED_TEST_SUITE solves the problem.
The text was updated successfully, but these errors were encountered: