Diagnostic 10120: overriding <option> with <option>

Submit New Article

October 2, 2009 1:00 AM PDT


 

Cause:

This warning is issued by the driver when you have two conflicting options on the same command line. The last one on the command line "wins".Remember that command line options can exist in makefiles and config files (i.e. icc.cfg, icpc.cfg, icl.cfg or ifort.cfg).

Example:

> icc -O3 -O2 -c foo.c
icc: command line warning #10120: overriding '-O3' with '-O2'

Resolution Status:

Look at your command line and remove the redundant flag.



Do you need more help?


This article applies to: Intel® C++ Compiler for Linux* Knowledge Base,   Intel® C++ Compiler for Mac OS X* Knowledge Base,   Intel® C++ Compiler for Windows* Knowledge Base,   Intel® Parallel Composer Knowledge Base