mirror of
https://github.com/reactos/CMake.git
synced 2024-12-20 18:48:14 +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
148 B
C
7 lines
148 B
C
int flags_lib(void) { return 0; }
|
|
|
|
/* Intel compiler does not reject bad flags or objects! */
|
|
#if defined(__INTEL_COMPILER)
|
|
# error BADFLAG
|
|
#endif
|