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

How to disable precompiled header messages

jdictos
Beginner
339 Views
Using intel compiler, version 11.0 for linux. We are working with precompiled header options, and want to silence the following messages:

"Using precompiled header file XXX" - each time a precompiled header is used
"Creating precompiled header file XXX" - each time a precompiled heaer is created

How do you do that with icpc? Its not a warning, or a diagnostic?
0 Kudos
1 Reply
JenniferJ
Moderator
339 Views

Sorry that there's no public option to turn it off right now. I've submitted a bug report to the engineer team to change the msg to a remark.
Once the fix is available you can disable the msg with -diag-disable:remark.

Jennifer
0 Kudos
Reply