Message The level set by a #pragma optimize directive must be between 0 and 5. Pragma is ignored. Description A #pragma optimize has tried to set the optimization level to a value outside the valid range. The compiler will ignore the directive. User Action Set the optimization level to a number from 0 to 5.