Skip to content
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

Suppress MSVC warning that is not applicable #446

Merged
merged 2 commits into from
Nov 1, 2022

Conversation

mjcarroll
Copy link
Contributor

@mjcarroll mjcarroll commented Nov 1, 2022

This triggers a warning in downstream libraries such as:

https://build.osrfoundation.org/job/ign_gazebo-pr-win/5195/msbuild/

'gz::physics::detail::ComposePlugin::type': base-class 'gz::physics::detail::ComposePlugin::n,void>' is already a base-class of 'gz::physics::detail::ComposePlugin::type'

 
After talking with @mxgrey, while this is typically a relevant warning by MSVC, it is not applicable so we can suppress it.

Signed-off-by: Michael Carroll [email protected]

Signed-off-by: Michael Carroll <[email protected]>
@mjcarroll mjcarroll self-assigned this Nov 1, 2022
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Nov 1, 2022
@mjcarroll mjcarroll mentioned this pull request Nov 1, 2022
8 tasks
include/gz/physics/FeatureList.hh Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Merging #446 (737ac86) into gz-physics6 (924e0b4) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           gz-physics6     #446   +/-   ##
============================================
  Coverage        75.73%   75.73%           
============================================
  Files              140      140           
  Lines             7039     7039           
============================================
  Hits              5331     5331           
  Misses            1708     1708           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Michael Carroll <[email protected]>
@mjcarroll mjcarroll changed the title Suppress MSVC false-positive Suppress MSVC warning that is not applicable Nov 1, 2022
@mjcarroll mjcarroll merged commit f2775ac into gz-physics6 Nov 1, 2022
@mjcarroll mjcarroll deleted the mjcarroll/green_build branch November 1, 2022 16:26
@azeey
Copy link
Contributor

azeey commented Jul 10, 2024

This fix can also be applied to ign-physics5 to fix warnings in ign-gazebo6 to partially resolve gazebosim/gz-sim#2384

@Mergifyio backport ign-physics5

@azeey
Copy link
Contributor

azeey commented Jul 10, 2024

@Mergifyio backport ign-physics5

Copy link

mergify bot commented Jul 10, 2024

backport ign-physics5

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jul 10, 2024
Signed-off-by: Michael Carroll <[email protected]>
(cherry picked from commit f2775ac)

# Conflicts:
#	include/gz/physics/FeatureList.hh
azeey pushed a commit that referenced this pull request Jul 10, 2024
Signed-off-by: Michael Carroll <[email protected]>
(cherry picked from commit f2775ac)
Signed-off-by: Addisu Z. Taddese <[email protected]>
iche033 pushed a commit that referenced this pull request Jul 16, 2024
(cherry picked from commit f2775ac)

Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
Co-authored-by: Michael Carroll <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants