Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Why does -cm not suppress comments?

mbkennel
초급자
396 조회수
I am trying to figure out what the -cm option does.

For instance if I compile something with -cm, I still
get lines like

module SUBMOD
program MAIN

22 Lines Compiled

-----
This is unlike C compilers, e.g., which are quiet when given error free programs.


I have a Makefile which ends up compiling things many times , and in my circumstance this results in a very long megilla of messages like the above. I want to suppress them so that it is much easier to see actual error messages when they occur.

How can I get such messages to be suppressed?
0 포인트
2 응답
cp_jain
초급자
396 조회수
Hi
As mentioned in users guide:
-cm option disables "messages that indicate valid but unadvisable use of the language being compiled"

"# lines compiled" kind of message does not come under this category and hence not disabled with this option.

AFAIK there is no option to disable such messages.
You can redirect your output to some file and process it to get actual errors.



cp
0 포인트
Steven_L_Intel1
396 조회수
I believe these "progress" messages will go away in a future version.

Steve
0 포인트
응답