patch for unsigned bitfields

Zack Weinberg zack@wolery.cumb.org
Tue Apr 18 11:10:00 GMT 2000


On Tue, Apr 18, 2000 at 12:40:30PM -0500, Robert Lipe wrote:
> 
> Mark Mitchell and I worked out the design for this.  He has approved it.
> I will committ it soon.

Just a couple of style nit-picks:

...
> +AC_MSG_CHECKING(for unsigned enumerated bitfields)
> +AC_CACHE_VAL(gcc_cv_enum_bf_unsigned, 

AC_CACHE_CHECK(for unsigned enumerated bitfields, gcc_cv_enum_bf_unsigned,

...
> +  AC_DEFINE(ENUM_BITFIELDS_ARE_UNSIGNED)

If you write this as

     AC_DEFINE(ENUM_BITFIELDS_ARE_UNSIGNED, 1,
       [Define if enumerated bitfields are treated as unsigned values.])

then you don't have to add anything to acconfig.h.


Also, please don't include the diff of configure in the mail to
gcc-patches.  It's not interesting and it makes the message much
longer.

zw


More information about the Gcc-patches mailing list