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

Fix flags for both clang and gcc. #1219

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Fix flags for both clang and gcc. #1219

merged 1 commit into from
Jun 24, 2024

Conversation

clalancette
Copy link
Contributor

In particular, make sure that a clang-only flag
(-Wno-implicit-const-int-float-conversion) is only set for clang, and also add in another suppression for g++ 13 (where there are false warnings for stringop-overflow).

This should fix #1217

In particular, make sure that a clang-only flag
(-Wno-implicit-const-int-float-conversion) is only
set for clang, and also add in another suppression
for g++ 13 (where there are false warnings for stringop-overflow).

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
Copy link
Contributor Author

CI:

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

@ahcorde ahcorde merged commit 0707355 into rolling Jun 24, 2024
1 of 2 checks passed
@clalancette clalancette deleted the clalancette/fix-flags branch June 24, 2024 11:34
Crola1702 pushed a commit that referenced this pull request Jun 26, 2024
In particular, make sure that a clang-only flag
(-Wno-implicit-const-int-float-conversion) is only
set for clang, and also add in another suppression
for g++ 13 (where there are false warnings for stringop-overflow).

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@ahcorde
Copy link
Contributor

ahcorde commented Jun 26, 2024

https://github.com/Mergifyio backport jazzy

Copy link

mergify bot commented Jun 26, 2024

backport jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jun 26, 2024
In particular, make sure that a clang-only flag
(-Wno-implicit-const-int-float-conversion) is only
set for clang, and also add in another suppression
for g++ 13 (where there are false warnings for stringop-overflow).

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 0707355)
ahcorde pushed a commit that referenced this pull request Jun 26, 2024
In particular, make sure that a clang-only flag
(-Wno-implicit-const-int-float-conversion) is only
set for clang, and also add in another suppression
for g++ 13 (where there are false warnings for stringop-overflow).

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 0707355)

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
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.

🧑‍🌾 Release build rviz_ogre_vendor OgreMesh.cpp failing in ubuntu
2 participants