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

Intel Classic compilers complaining about unsupported flag #1799

Closed
cz4rs opened this issue May 13, 2022 · 2 comments · Fixed by #1800
Closed

Intel Classic compilers complaining about unsupported flag #1799

cz4rs opened this issue May 13, 2022 · 2 comments · Fixed by #1800
Assignees

Comments

@cz4rs
Copy link
Contributor

cz4rs commented May 13, 2022

Describe the bug
icpc 18 and 19 warn about unsupported command line option:

[490/634] Building CXX object tests/CMakeFiles/sequencer_nompi.dir/unit/main.cc.o
icpc: command line warning #10148: option '-ftemplate-backtrace-limit=100' not supported

Additional context
We already check this flag with check_cxx_compiler_flag before applying. Additional check for compiler type and version might be required.

@cz4rs cz4rs self-assigned this May 13, 2022
@PhilMiller
Copy link
Member

Huh, the documentation says that the check shouldn't accept the flag if there's any diagnostic

@cz4rs
Copy link
Contributor Author

cz4rs commented May 13, 2022

Huh, the documentation says that the check shouldn't accept the flag if there's any diagnostic

Yeah, seems like a bug somewhere in between the CMake module and compiler. Works fine for me with CMake 3.18.4 and icpc 2021.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants