Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
7597 Discussions

How to suppress pre-compiled header messages?

errorcode
Beginner
145 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
145 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
145 Views
Hi mprice1,
Yahoo!... It works. Thank you.
--
Quang
Reply