Skip to content

Unit tests fail to build on gcc 7.2.1 #7

Closed

Description

@raunraun
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),                                                                       \
              ^~~~~~~~~

Activity

  1. ArturHarasimiuk commented on Feb 12, 2018

    @ArturHarasimiuk
    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!

  2. raunraun commented on Feb 12, 2018

    @raunraun
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions