mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 20:49:41 +00:00
c8b13ecc38
The Intel C compiler for Linux does not seem to reject any bad flags or object files on its link lines. Work around the problem by using a preprocessor #error directive to ensure that BADFLAG appears in the build output. This does not really achieve the purpose of the tests but it allows them to pass.
7 lines
143 B
C
7 lines
143 B
C
int main(void) { return 0; }
|
|
|
|
/* Intel compiler does not reject bad flags or objects! */
|
|
#if defined(__INTEL_COMPILER)
|
|
# error BADFLAG
|
|
#endif
|