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
  • Perhaps you can provide a complete test example that shows the array content via a printf() for the two cases you've identified. Use the PRE tags when posting source code, see "Posting Tips"

    Ideally post a link to a zipped project.

    I'm not seeing any casting or precedence issues in the fragments you've provided thus far, but perhaps I'm missing some context here.

Reply
  • Perhaps you can provide a complete test example that shows the array content via a printf() for the two cases you've identified. Use the PRE tags when posting source code, see "Posting Tips"

    Ideally post a link to a zipped project.

    I'm not seeing any casting or precedence issues in the fragments you've provided thus far, but perhaps I'm missing some context here.

Children