Loading ...
Sorry, an error occurred while loading the content.

305RE: [TMS470_ARM] No assembly code generated

Expand Messages
  • clarenceroop
    Jan 31, 2014

      Thanks everyone for your input - Mr. Leiphart was right, the condition

          (fd->mode & O_RDONLY != O_RDONLY)

      will always evaluate to false since the constan O_RDONLY ≡ 0 and anything ANDDED with it will yield zero. I've replaced this with

      if(fd->mode != O_RDONLY) and all is fine.

      Thanks again.


    • Show all 9 messages in this topic