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

chore: Update compiler warning flags #3495

Merged
merged 28 commits into from
Aug 20, 2024

Conversation

paulgessinger
Copy link
Member

@paulgessinger paulgessinger commented Aug 8, 2024

  • Remove -Wno-unused-local-typedefs

  • Add -Wzero-as-null-pointer-constant, -Wold-style-cast and -Wnull-derefence

  • Fix warnings caused by these flags

  • This requires an update to ODD, since ODD triggers old-style cast warnings currently.

  • Depends on fix: Avoid unused local typedef actsvg#80 to avoid warnings from ACTSVG

Blocked by

@paulgessinger paulgessinger added this to the next milestone Aug 8, 2024
@github-actions github-actions bot added Component - Core Affects the Core module Infrastructure Changes to build tools, continous integration, ... Component - Examples Affects the Examples module Component - Plugins Affects one or more Plugins Vertexing Track Finding Track Fitting labels Aug 8, 2024
stephenswat
stephenswat previously approved these changes Aug 8, 2024
@acts-policybot acts-policybot bot dismissed stephenswat’s stale review August 14, 2024 07:28

Invalidated by push of c16685b

@paulgessinger paulgessinger force-pushed the chore/warning-reduction branch 3 times, most recently from e8e989a to facbefe Compare August 14, 2024 12:35
@paulgessinger paulgessinger added the 🛑 blocked This item is blocked by another item label Aug 14, 2024
@github-actions github-actions bot added Component - Fatras Affects the Fatras module Component - Documentation Affects the documentation labels Aug 15, 2024
@paulgessinger paulgessinger removed the 🛑 blocked This item is blocked by another item label Aug 16, 2024
@paulgessinger paulgessinger marked this pull request as ready for review August 16, 2024 07:25
@github-actions github-actions bot removed Component - Fatras Affects the Fatras module Component - Documentation Affects the documentation labels Aug 16, 2024
Copy link
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

.pre-commit-config.yaml Outdated Show resolved Hide resolved
Core/include/Acts/Definitions/Algebra.hpp Show resolved Hide resolved
thirdparty/OpenDataDetector Outdated Show resolved Hide resolved
Copy link
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's get this in!

@kodiakhq kodiakhq bot merged commit 77d1f88 into acts-project:main Aug 20, 2024
41 checks passed
Copy link

sonarcloud bot commented Aug 20, 2024

@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label Aug 21, 2024
@paulgessinger paulgessinger modified the milestones: next, v36.2.0 Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Core Affects the Core module Component - Examples Affects the Examples module Component - Plugins Affects one or more Plugins Event Data Model Fails Athena tests This PR causes a failure in the Athena tests Infrastructure Changes to build tools, continous integration, ... Track Finding Track Fitting Vertexing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants