Skip to content

Unit tests fail to build on gcc 7.2.1 #7

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

Closed
raunraun opened this issue Feb 9, 2018 · 2 comments
Closed

Unit tests fail to build on gcc 7.2.1 #7

raunraun opened this issue Feb 9, 2018 · 2 comments

Comments

@raunraun
Copy link

raunraun commented Feb 9, 2018

In file included from /home/raun/workspace/neo/unit_tests/built_ins/built_in_tests.cpp:24:0:
/home/raun/workspace/neo/unit_tests/gen_common/test.h:87:62: error: could not convert ‘testing::internal::GetTypeId<BuiltInTests>()’ from ‘testing::internal::TypeId {aka const void*}’ to ‘testing::internal::CodeLocation’
                  ::testing::internal::GetTypeId<test_fixture>())
                                                              ^
/home/raun/workspace/neo/unit_tests/gen_common/test.h:77:14: note: in definition of macro ‘HWTEST_TEST_’
             (parent_id),                                                                       \
              ^~~~~~~~~

@ArturHarasimiuk
Copy link
Contributor

Which version of Google Test framework are you using?

Please note that 1.7.0 is expected. Please try again with 1.7.0 if you used different version and let us know if it worked.

Thank you!

@raunraun
Copy link
Author

I was on TOT, rolling back now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants