--- pragmac.h --- #pragma debug code objectextend optimize(6,speed) rom(large)
compiling TUNING.C... ..\PRAGMAC.H(3): error C252: misplaced primary control, line ignored
thx Jon I've fixed
misplaced primary control Primary directives may be places only on the first line of the source file. They affect the whole file and, as such, can't be specified after any code or objects are generated. Jon
Can you combine options on a pragma line like that? What does the Manual say?
View all questions in Keil forum