This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LM3S1608

Hello,

new compiler V5.05 does not handle an expression:
lastrec[2] = (kol_strok / 4); //

and so works:
lastrec[2] = kol_strok / 4; //

Parents
  • 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.

Reply
  • 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.

Children