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

Warnings as errors fixes #312

Merged
merged 4 commits into from
Dec 13, 2020
Merged

Conversation

al-tu
Copy link
Contributor

@al-tu al-tu commented Nov 17, 2020

fixing some warnings, most are minor ones, except for missing copy constructor for Pose6D which leads to the following message (compiled with -std=c++2a):
warning: implicitly-declared 'octomath::Pose6D::Pose6D(const octomath::Pose6D&)' is deprecated [-Wdeprecated-copy]
note: because 'octomath::Pose6D' has user-provided 'octomath::Pose6D& octomath::Pose6D::operator=(const octomath::Pose6D&)'
so i've added copy ctor for consistency
notes:
it might make sense to provide move operations along with copy, conditionaly defined if c++ >= 11 is available
i've also added warning as errors flags to compiler flags list - don't know if it's appropriate for this project, so i'm ok to remove it if requested
unused parameters names wrapped with comments - might be removed alternatively, seems like a style choice that should be consistent with the whole project (is it now?)

@ahornung ahornung merged commit 85bbd66 into OctoMap:devel Dec 13, 2020
@ahornung
Copy link
Member

Thanks, merged!

@wxmerkt
Copy link
Member

wxmerkt commented Jan 17, 2021

@ahornung Could you please create a patch release for v1.9 with this PR included? I'd love to get the version in Noetic updated :-).

@ahornung
Copy link
Member

@wxmerkt Done, thanks for the heads up!

@wxmerkt
Copy link
Member

wxmerkt commented Jan 24, 2021

Thank you, the release is out - ros/rosdistro#28068

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