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

Warning suppression

postaquestion
Beginner
422 Views

I'm using Intel Compiler 9.1 with Microsoft Visual Studio 2005 SDK header files and I'm getting warning #1786, the deprecated crt function warning.

How do I suppress that? I don't want to suppress ALL warnings, just that specific warning.

I tried using -Wno-deprecated option but it doesn't seem to work. To be specific, it says ignoring /W with illegal options

Help?

Thanks

0 Kudos
1 Reply
Rick_Paulson
Beginner
422 Views

Try compiling with this switch: /Qwd1786

-Rick

0 Kudos
Reply