Betrayed by a bitfield
Posted Feb 7, 2012 8:43 UTC (Tue) by khim
In reply to: Betrayed by a bitfield
Parent article: Betrayed by a bitfield
Since C11 includes _Alignas and you can specify you own alignment it's not a disaster, albeit it is inconvenience.
Perfectly working C++ program can already be broken by recompilation in C++11 mode, so it's not the first time upgrade broke things.
Of course is only possible if original program violated specs and worked by accident (if you can show me genuinely different behavior in standards-compliant program it'll be interesting to know, too, but so far all examples I've seen contained subtle violations of one form or another).
to post comments)