Why does -cm not suppress comments?

Why does -cm not suppress comments?

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?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.


I believe these "progress" messages will go away in a future version.


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today