Skip to content

Intel/Fortran: Avoid recording warning 5117 lines in CMakeError.log

scivision requested to merge scivision/cmake:ifort_win32_log into master

This seemed the least code impactful change to avoid appending 200 kilobytes of vestigial text to every project's CMakeError.log, which happens on Windows with Intel/IntelLLVM on Fortran projects. For Intel, it's been happening for several years at least.

Probably unlikely another compiler would emit exactly that warning ID, so take it as a sign it's Intel compiler and don't log to disk.

Edited by Brad King

Merge request reports