Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.bin/make/lst.lib
On Tue, Feb 05, 2008 at 15:11:50 +0000, Joerg Sonnenberger wrote:
> Module Name: src
> Committed By: joerg
> Date: Tue Feb 5 15:11:50 UTC 2008
>
> Modified Files:
> src/usr.bin/make/lst.lib: lstInt.h
>
> Log Message:
> Merge from pkgsrc's bmake: don't use signed short for bitfields.
> This makes IBM xlc happy.
Really correct fix is to use "unsigned int" here. Other types are
implementation defined:
6.7.2 Type specifiers
[#5] [...] for bit-fields, it is implementation-
defined whether the specifier int designates the same type
as signed int or the same type as unsigned int.
6.7.2.1 Structure and union specifiers
[#4] A bit-field shall have a type that is a qualified or
unqualified version of _Bool, signed int, unsigned int, or
some other implementation-defined type.
SY, Uwe
--
uwe%stderr.spb.ru@localhost | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
Home |
Main Index |
Thread Index |
Old Index