Hello,
new compiler V5.05 does not handle an expression: lastrec[2] = (kol_strok / 4); //
and so works: lastrec[2] = kol_strok / 4; //
I just tested your code with one of our current examples projects:
"... int main (void) { char lastrec[10]; int kol_strok = 12; ... lastrec[2] = (kol_strok / 4); lastrec[2] = kol_strok / 4; // ..."
Result: ".\Flash\Blinky.axf" - 0 Error(s), 1 Warning(s). Compiler: Armcc.exe V5.05 update 2 (build 169)
Thus I can't confirm your observation.
Beside: Please enter your name at creating any ticket, thx