[cfe-dev] patch: boolean bitfield init

Eli Friedman eli.friedman at gmail.com
Thu Jul 17 18:52:30 PDT 2008


On Thu, Jul 17, 2008 at 6:36 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> g++ 4.01 on OSX, the size of the struct is 2, and x.x is 1 (also for
> an initializer where the low bit is 0) and remains 1 after ++x.x.

Huh, really... all the versions of g++ I have on my system mess this up.

-Eli



More information about the cfe-dev mailing list