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

[geom][mini] Disabling (temporarily) c++20 [[unlikely]] compiler hint. #17413

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

agheata
Copy link
Member

@agheata agheata commented Jan 13, 2025

This Pull request:

Disables a c++20 [[unlikely]] hint to prevent a -Wattributes compilation warning

Changes or fixes:

I just commented, not removed entirely, to disable the warning on c++17 or less mode. We have R__unlikely, which cannot be used in a multiple-branch statement.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

@agheata agheata self-assigned this Jan 13, 2025
@agheata agheata changed the title [geom] Disabling (temporarily) c++20 [[unlikely]] compiler hint. [geom][mini] Disabling (temporarily) c++20 [[unlikely]] compiler hint. Jan 13, 2025
Copy link

github-actions bot commented Jan 13, 2025

Test Results

    18 files      18 suites   4d 3h 22m 10s ⏱️
 2 695 tests  2 694 ✅ 0 💤 1 ❌
46 780 runs  46 779 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 0edf4b4.

♻️ This comment has been updated with latest results.

geom/geom/inc/bvh/v2/bvh.h Outdated Show resolved Hide resolved
@agheata agheata merged commit eb1ae84 into root-project:master Jan 20, 2025
18 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants