Skip to content

Guard adding intel compiler flag behind check for intel compiler. #2004

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EricWF
Copy link
Contributor

@EricWF EricWF commented Jun 18, 2025

For reasons I don't yet fully understand, failing to guard the check for flag -wd654 will cause it to be added to certain clang configurations, and then cause compilation to fail.

While exactly why this happens needs investigation, the fix proposed in this patch seems direct and simple enough to apply regardless.

For reasons I don't yet fully understand, failing to guard the check
for flag -wd654 will cause it to be added to certain clang
configurations, and then cause compilation to fail.

While exactly why this happens needs investigation, the fix
proposed in this patch seems direct and simple enough to
apply regardless.
# (because of deprecated overload)
add_cxx_compiler_flag(-wd654)
endif()

Copy link
Collaborator

Choose a reason for hiding this comment

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

While there, can you move this line into the previous such guard block ^ ?

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.

2 participants