Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SRett
Beginner
180 Views

Intel Compiler -isystem doesn't suppress warning #13212

on the current intel compiler (19.0.4.243 20190416) a -isystem include on the eigen library does not suppress warning #13212 (Reference to ebx in function requiring stack alignment):

[ 42%] Building CXX object tests/testAutopas/CMakeFiles/runTests.dir/tests/selectors/tuningStrategy/GaussianProcessTest.cpp.o cd /autopas/build/intel-docker/tests/testAutopas && /opt/intel/compilers_and_libraries_2019.4.243/linux/bin/intel64/icpc -DEIGEN_DONT_PARALLELIZE -I/autopas/build/intel-docker/tests/testAutopas -I/autopas/tests/testAutopas -I/autopas/src/autopas/../. -isystem /autopas/libs/spdlog-1.3.1/include -isystem /autopas/build/intel-docker/libs/eigen-3/include -isystem /autopas/build/intel-docker/tests/gtest/src/gtest/googletest/include -isystem /autopas/build/intel-docker/tests/gtest/src/gtest/googlemock/include -O3 -DNDEBUG -fno-math-errno -fp-model precise -qopenmp-simd -march=native -std=c++17 -o CMakeFiles/runTests.dir/tests/selectors/tuningStrategy/GaussianProcessTest.cpp.o -c /autopas/tests/testAutopas/tests/selectors/tuningStrategy/GaussianProcessTest.cpp 
/autopas/build/intel-docker/libs/eigen-3/include/Eigen/src/Core/products/GeneralMatrixMatrix.h(450): (col. 3) warning #13212: Reference to ebx in function requiring stack alignment

you can reproduce this on the following codebase: https://github.com/AutoPas/AutoPas/tree/cdfadf5ccfb9925756d4a70da3508e9979df5565

0 Kudos
2 Replies
Viet_H_Intel
Moderator
180 Views

you can suppress the warning by adding -wd13212

SRett
Beginner
180 Views

that I already did, it should however already be suppressed by -isystem. Therefore, I consider this a compiler bug (non-critical).

Reply