Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
7768 Discussions

How to suppress pre-compiled header messages?

errorcode
Beginner
229 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
229 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

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