Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

How to disable warning: "command line options do not match those used when precompiled header"

rdarnold
Beginner
1,403 Views
Hi,

I'm using the Intel Compiler 2.0 developing for Windows CE,using Embedded Visual C++ 4.0 as my IDE. I keep getting this warning:
Warning #672: the command line options do not match those used when precompiled header file "xxxx.pchi" was created
This software has been in use for years and the warning is not important/totally useless. I just want to disable or ignore it. It seems that #pragma warning (disable:672) does not work in this case. Does anyone know how I get rid of this darned warning?

Thanks!
0 Kudos
3 Replies
rdarnold
Beginner
1,403 Views

I actually figured out a way to do this-

In the Project Settings, add the "/Qwd672" option to the Project Options. This gives a 4002 command line warning, but eliminates the 100s of 672 warnings.
0 Kudos
Quoc-Thai_L_Intel
1,403 Views
Thank you for sharing your finding....:)
For any specific question about the Intel Compiler in the future, you should check out the Intel Compiler Forum. -Thai
0 Kudos
Not applicable
1,403 Views
 
0 Kudos
Reply