We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using uVision3 to compile a project and get such an error: C166 FATAL-ERROR - ACTION: PARSING INVOKE-/#PRAGMA-LINE LINE: C:\Keil\C166\BIN\C166.EXE ..\my_project\my_main.c MODV2 HLARGE WARNINGLEVEL(3) OPTIMIZE(9, ERROR: NUMERIC VALUE OUT OF RANGE C166 TERMINATED. Target not created
The vision of my C compiler is V5.00, maybe it is too low?
" there is no optimize (9) there." Of course there isn't - you've just been told that this compiler does not have a level '9' optimisation!
One of the main points of a GUI is that it does not present you with invalid options!
"Could you please tell me how to lower the optimization level for my case?"
Pick whatever level is available, and meets your needs.
Again, supported levels will be listed in the manual for the particular version that you have