Re: boolean bit fields

From: Kinkie <gkinkie_at_gmail.com>
Date: Thu, 24 Jan 2013 17:27:34 +0100

> If we leave any :1 flags, we should also make sure that all of them are
> using unsigned integers (or bool) as the base type. Using signed
> integers leads to bugs as the difference in "final" checksum below
> demonstrates (the final value should not change when bitfields are
> enabled, but does change for signed integer types):

They are unsigned int :1 now, I'm turning them to bool, or bool:1,
certainly nothing else.
This discussion has already cost much time, probably much more than
what it's worth.
From what I understand, the current consensus is to use :1'ed bools, right?

Thanks

--
    /kinkie
Received on Thu Jan 24 2013 - 16:27:42 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 24 2013 - 12:00:08 MST