| 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
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (1) 
Trackbacks (0)
Leave a comment 
To obtain technical support, please go to Software Support.
Author
Judith Ward (Intel)
|


Adam
ifort: command line warning #10120: overriding '-O3' with '-O2'
Is it the compiler that is calling the override, or something else? I am using Intel v10.1.021 on an SGI system.