I'm willing to admit that I don't fully understand where volatile goes. Not only would it be very noble of someone to explain this to us, but I'm certain that he would be rained with fame, women, and money for his efforts.
Russ On 11/4/05, Steve Underwood <ste...@coppice.org> wrote: > > >>6. Avoid using volatiles, unless they are really necessary. > >> > >> > > > >No one would ever declare a variable volatile unless there was a good > reason to. Are you saying that the compiler can > >optimise better with variables which aren't volatile? That's normal for > any compiler AFAIK. > > > > > Do you have any idea how small a percentage of embedded C programmers > understand what volatile really means, and where it is needed? >