Problem with building cmake with Intel compiler on Linux
There is a problem with building CMake with Intel compiler on Linux (in some cases apparently). The problem is that at some point Intel compiler started getting called with -std=c11 (it was -std=gnu11 before), which defines __STRICT_ANSI__
, which, for example, stops it from defining the macro SIG_BLOCK
when processing signal.h. Probably, it has to do with 4a5727d3 (from !1711 (merged)). I couldn't find anything regarding the support for -std=gnu11 in the Intel documentation but this seems to be a valid value for the flag. I asked Intel about this here: https://software.intel.com/en-us/forums/intel-c-compiler/topic/779719.
Edited by Brad King