Re: enum bitfield

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
-----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             [email protected]
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.