Betrayed by a bitfield
Betrayed by a bitfield
Posted Feb 7, 2012 8:46 UTC (Tue) by khim (subscriber, #9252)In reply to: Betrayed by a bitfield by daglwn
Parent article: Betrayed by a bitfield
This is why volatile is non-portable. Unfortunately, C99 has no standard way to force alignment of any object.
GCC, MSCV and other compilers include such an ability and C11 finally adds it to standard so it's all is not so bad...
