Author Topic: Weird ideas #4: standard bit fields etc.  (Read 6184 times)

kyle

  • Newbie
  • *
  • Posts: 48
    • View Profile
Weird ideas #4: standard bit fields etc.
« on: June 20, 2014, 09:26:22 PM »
Currently, the ordering and some of the semantics of bitfields appear to be implementation dependent.  It would be nice if C2 specified the exact ordering of bit fields and their behavior on all platforms. 

This comes from a discussion I started on LinkedIn in the "Plain Old C Programming" group.  Chris Ryan pointed out the problems with bit fields. 

Best,
Kyle