We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81cfec2 commit 11cd90dCopy full SHA for 11cd90d
1 file changed
.github/workflows/intel.yml
@@ -17,7 +17,12 @@ jobs:
17
run: |
18
sudo .github/workflows/dependencies/install_icc
19
- name: Build
20
- env: {CXXFLAGS: -Werror}
+ # Due to compiler bugs in Intel compiler, we need to disable warning 1011
21
+ # (missing return value), otherwise `if constexpr` functions
22
+ # don't compile.
23
+ # See https://community.intel.com/t5/Intel-C-Compiler/quot-if-constexpr-quot-and-quot-missing-return-statement-quot-in/td-p/1154551
24
+ # Using a local pragma does not work due to the reasons stated there.
25
+ env: {CXXFLAGS: -Werror -wd1011}
26
27
set +e; source /opt/intel/oneapi/setvars.sh; set -e
28
share/openPMD/download_samples.sh build
0 commit comments