Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

How to suppress pre-compiled header messages?

errorcode
Beginner
399 Views
I would like to suppress the messages relating to pre-compiled header. The commands 'strings mcpcom | grep pch' shows no_pch_messages as an option so I added -no_pch_messages to the command line, but the option is not recognized. I also tried two dashes. I googled it and found similiar option for KAI C++. So the question is how to suppress these messages?

Thanks,
Quang
0 Kudos
2 Replies
Michael_R_Intel5
Employee
399 Views

I am guessing you mean the messages like this:

"t.c": creating precompiled header file "t.pchi"
"t.c": using precompiled header file "t.pchi"

Try this option:

-Qoption,cpp,--no_pch_messages

0 Kudos
errorcode
Beginner
399 Views
Hi mprice1,
Yahoo!... It works. Thank you.
--
Quang
0 Kudos
Reply