mirror of
https://github.com/reactos/CMake.git
synced 2025-02-28 16:05:38 +00:00

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
|