Skip to content

Current Gmock generates a lot of warning on Ubuntu 22.04 with Clang #23

@JvE-Lely

Description

@JvE-Lely

On Humble building unittests generated a lot of warning with regard to GMock:

In file included from /opt/ros/humble/src/gmock_vendor/include/gmock/gmock-spec-builders.h:75:
/opt/ros/humble/src/gmock_vendor/include/gmock/gmock-matchers.h:721:3: warning: definition of implicit copy constructor for 'StrEqualityMatcher<std::basic_string<char>>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
  GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);

Can this be fixed since it generates a lot warning making it impossible to find the error.

In GMock this is fixed in google#2815

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions