Shachar Shemesh <shac...@shemesh.biz> writes:

> Just tested it myself. It does, indeed, not work. I wonder why? 
> Seems like it SHOULD work. After all, that's what volatile is for,
> right?

I suspected that const was more important than volatile, but it looks
(after I removed const) that what overrules volatile is the fact that
nothing uses the static variable (or const) - the compiler does not
care that it was declared volatile.

-- 
Oleg Goldshmidt | p...@goldshmidt.org

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to