Skip to content

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

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

clalancette merged 1 commit into
ament:humblefrom
atzaros:fix-compiler-gtest-gmock-warnings-backport-408

Conversation

@atzaros

@atzaros atzaros commented Nov 24, 2023

Copy link
Copy Markdown

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 <[email protected]>
Signed-off-by: atzaros <[email protected]>
@atzaros
atzaros force-pushed the fix-compiler-gtest-gmock-warnings-backport-408 branch from eb93883 to dbe21ba Compare November 24, 2023 13:28
@atzaros

atzaros commented Dec 1, 2023

Copy link
Copy Markdown
Author

@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