Skip to content

[19638] Fix clang warnings #3901

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

Merged
merged 2 commits into from
Oct 6, 2023
Merged

[19638] Fix clang warnings #3901

merged 2 commits into from
Oct 6, 2023

Conversation

JLBuenoLopez
Copy link
Contributor

@JLBuenoLopez JLBuenoLopez commented Oct 5, 2023

Description

This PR cherry-picks 9c76dcc into 2.11.x. This PR should be merged first into the branch before considering merging any other backport. MacOs CI is broken due to the warnings fixed in this PR.

@Mergifyio backport 2.10.x 2.6.x.

Contributor Checklist

  • [N/A] Commit messages follow the project guidelines.
  • The code follows the style guidelines of this project.
  • [N/A] Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • [N/A] Any new/modified methods have been properly documented using Doxygen.
  • Changes are ABI compatible.
  • [N/A] Changes are API compatible.
  • [N/A] New feature has been added to the versions.md file (if applicable).
  • [N/A] New feature has been documented/Current behavior is correctly described in the documentation.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

Signed-off-by: Ricardo González Moreno <[email protected]>
@JLBuenoLopez
Copy link
Contributor Author

@Mergifyio backport 2.10.x 2.6.x

@mergify
Copy link
Contributor

mergify bot commented Oct 5, 2023

backport 2.10.x 2.6.x

✅ Backports have been created

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
@JLBuenoLopez
Copy link
Contributor Author

@richiprosima please test this

@MiguelCompany
Copy link
Member

@richiprosima Please test mac

@JLBuenoLopez
Copy link
Contributor Author

The specific test that have failed in MacOs is not modified in this PR. Nevertheless, it seems like its failing consistently with the same error. The warnings are fixed by this PR.

@MiguelCompany MiguelCompany merged commit 462f5d7 into 2.11.x Oct 6, 2023
@MiguelCompany MiguelCompany deleted the bugfix/clang-warnings branch October 6, 2023 05:13
mergify bot pushed a commit that referenced this pull request Oct 6, 2023
* Refs #18687. Fix warnings after upgrade clang

Signed-off-by: Ricardo González Moreno <[email protected]>

* Refs #19638: linters

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

---------

Signed-off-by: Ricardo González Moreno <[email protected]>
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
Co-authored-by: Ricardo González Moreno <[email protected]>
(cherry picked from commit 462f5d7)

# Conflicts:
#	test/unittest/xmlparser/XMLElementParserTests.cpp
mergify bot pushed a commit that referenced this pull request Oct 6, 2023
* Refs #18687. Fix warnings after upgrade clang

Signed-off-by: Ricardo González Moreno <[email protected]>

* Refs #19638: linters

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

---------

Signed-off-by: Ricardo González Moreno <[email protected]>
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
Co-authored-by: Ricardo González Moreno <[email protected]>
(cherry picked from commit 462f5d7)

# Conflicts:
#	examples/C++/RTPSTest_persistent/TestWriterPersistent.cpp
#	examples/C++/RTPSTest_registered/TestWriterRegistered.cpp
#	test/unittest/xmlparser/XMLElementParserTests.cpp
MiguelCompany pushed a commit that referenced this pull request Oct 6, 2023
* Fix clang warnings (#3901)

* Refs #18687. Fix warnings after upgrade clang

Signed-off-by: Ricardo González Moreno <[email protected]>

* Refs #19638: linters

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

---------

Signed-off-by: Ricardo González Moreno <[email protected]>
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
Co-authored-by: Ricardo González Moreno <[email protected]>
(cherry picked from commit 462f5d7)

# Conflicts:
#	test/unittest/xmlparser/XMLElementParserTests.cpp

* Fix conflicts

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

---------

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
Co-authored-by: José Luis Bueno López <[email protected]>
Co-authored-by: JLBuenoLopez-eProsima <[email protected]>
MiguelCompany pushed a commit that referenced this pull request Oct 9, 2023
* Fix clang warnings (#3901)

* Refs #18687. Fix warnings after upgrade clang

Signed-off-by: Ricardo González Moreno <[email protected]>

* Refs #19638: linters

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

---------

Signed-off-by: Ricardo González Moreno <[email protected]>
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
Co-authored-by: Ricardo González Moreno <[email protected]>
(cherry picked from commit 462f5d7)

# Conflicts:
#	examples/C++/RTPSTest_persistent/TestWriterPersistent.cpp
#	examples/C++/RTPSTest_registered/TestWriterRegistered.cpp
#	test/unittest/xmlparser/XMLElementParserTests.cpp

* Fix conflicts

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

* Linters

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

* Refs #19638: fix Mac warning

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

* Refs #19638: linters

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>

---------

Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
Co-authored-by: José Luis Bueno López <[email protected]>
Co-authored-by: JLBuenoLopez-eProsima <[email protected]>
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