Skip to content

Fix compiler warnings related to gtest/gmock (#408)#495

Merged
clalancette merged 1 commit intoament:humblefrom
atzaros:fix-compiler-gtest-gmock-warnings-backport-408
Dec 1, 2023
Merged

Fix compiler warnings related to gtest/gmock (#408)#495
clalancette merged 1 commit intoament:humblefrom
atzaros:fix-compiler-gtest-gmock-warnings-backport-408

Conversation

@atzaros
Copy link
Copy Markdown

@atzaros atzaros commented Nov 24, 2023

Closes #494

  • Suppress compiler warnings when building gmock

definition of implicit copy constructor ... is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]

  • Declare gtest/gmock include dirs as SYSTEM PRIVATE for test targets

* Suppress compiler warnings when building gmock

definition of implicit copy constructor ... is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]

* Declare gtest/gmock include dirs as SYSTEM PRIVATE for test targets

Signed-off-by: Robert Haschke <rhaschke@techfak.uni-bielefeld.de>
Signed-off-by: atzaros <128592691+atzaros@users.noreply.github.com>
@atzaros atzaros force-pushed the fix-compiler-gtest-gmock-warnings-backport-408 branch from eb93883 to dbe21ba Compare November 24, 2023 13:28
@atzaros
Copy link
Copy Markdown
Author

atzaros commented Dec 1, 2023

@clalancette Is it possible to accept this backport to humble?

thanks

@clalancette
Copy link
Copy Markdown
Contributor

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette clalancette merged commit 960b8e8 into ament:humble Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants