m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enum bitfield


From: Eric Blake
Subject: Re: enum bitfield
Date: Thu, 22 Nov 2007 13:51:32 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 11/22/2007 1:41 PM:
> Hello Eric,
> 
> in the argv_ref branch, src/input.c:
> 
> struct input_block {
> ...
>   input_type type : 8;
> 
> };
> 
> The enum bitfield is a GNU extension.

Oh well.  I didn't want input_block to be any bigger than it has to be, so
I'll just use a char instead, or perhaps something similar to how
bool_bitfield in m4.h is defined according to GCC vs. C89.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHRevU84KuGfSFAYARAh+EAJ0a9Efn2K8FhBq8k0nKfS8lVwWVfQCgmucb
ZCrVpj/kJlkuFOQWLiaam9U=
=Cdie
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]