From: ingo.oeser(a)informatik.tu-chemnitz.de (Ingo
Oeser)
For people like you gcc supports -fvolatile.
Your code will be really slow, but you save typing 'volatile' where the
C-Compiler needs it.
So, there is no "do not optimize away apperent volatile variables"?
Volatile variables in shmclient are easily recognized -- at least
I recognized them. It is the array variable which content is only
read but never written.
No such optimization flag? Can't believe that compilers are that dump.
Juhana