Messages in this thread | | | Date | Tue, 10 Apr 2018 15:00:11 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions |
| |
On Tue, 10 Apr 2018 14:53:51 -0700 Joe Perches <joe@perches.com> wrote:
> On Tue, 2018-04-10 at 14:39 -0700, Andrew Morton wrote: > > On Tue, 10 Apr 2018 11:19:54 -0700 Joe Perches <joe@perches.com> wrote: > > > > > A struct with a bool member can have different sizes on various > > > architectures because neither bool size nor alignment is standardized. > > > > What's wrong with bools in structs? > > See above.
Yeah, but so what? `long' has different sizes on different architectures too.
| |