static is scope, volatile has dynamic effects, very dynamic. you
should be able to #define volatile
to nothing (-Dvolatile'=') and it will usually work. certainly for
statics and externals.
the one real effect it might have is on automatic variables if the
usage in conjunction
with setjmp is a little strange (straightforward uses are fine with setjmp).

On 21 November 2012 13:21, Steve Simon <[email protected]> wrote:
> Is this legal c code, static and volatile?

Reply via email to