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

Turn off unsupported compiler options ignoring?

r_khlebnikov
Beginner
510 Views
Hi everyone!

The default behaviour of Intel C++ compiler 11 for Windows is to ignore unsupported compiler options (and output a warning). Is there any way to change this behaviour? I would like compiler to output an error and non-zero return code when it meets unsupported compiler option. Is it possible without writing special script that analyzes compiler output?

Thanks in advance,
Rostislav
0 Kudos
3 Replies
JenniferJ
Moderator
510 Views
If things work as they should be, the "/we10006" option or "/Qdiag-error:10006" should work. But because this warning is from the driver, not compiler itself, those two options does not work.

I'll create a bug report for this.

Right now I don't see any workaround.
0 Kudos
r_khlebnikov
Beginner
510 Views
If things work as they should be, the "/we10006" option or "/Qdiag-error:10006" should work. But because this warning is from the driver, not compiler itself, those two options does not work.

I'll create a bug report for this.

Right now I don't see any workaround.

Thanks. Then I'll write a wrapper-script...
0 Kudos
JenniferJ
Moderator
510 Views
Hello,
This bug has been fixed some time ago. Please upgrade to the latest 11.1 update (update 6). (Update 4 or newer should have the fix as well)

Thanks,
Jennifer
0 Kudos
Reply