On 21/10/2014 11:21, Xidorn Quan wrote: > Hi, > > I read the C++ portibility guide [1], in which it is said that all > bitfields should have the same type, or some compiler may mishandle the > code. Is that still true for the compiler set we currently use? The > compiler the doc mentioned is MSVC++8 which I believe we have dropped. Can > we use different type for bitfields in a class in our new code?
How about a link to http://blog.aaronballman.com/2011/08/the-joys-of-bit-fields/ ? Phil -- Philip Chee <[email protected]>, <[email protected]> http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

