
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Vincent <[EMAIL PROTECTED]> wrote: [...] >I feel that even if this behavior does not make ICCAVR non-ANSI >complaint, the manner in which it treats immediates is very confusing >and certainly nonintuitive/different than other "industry" compilers. I So 'C' is nonintuitive. >have spent several days trackinn down this issue and had I been a paying instead of _wasting_ (sic!) days, spend some money and buy a suitable static code checker. Even if you _know_ some day what a C compiler has to do, you will still make errors by accident. Many of them can be detected by a static code checker. I suggest PC-Lint, but see the thread "Lint for microcontrollers" to learn that it's not only my opinion. Lint early, lint often. Lint is your friend. Yes, I wasted also a lot of time before I bought it. Nevertheless you should have some idea of 'C' to be able to use lint correctly. Oliver -- Oliver Betz, Muenchen
| <-- __Chronological__ --> | <-- __Thread__ --> |