Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/sys
In article <20090809191929.GC3425%snowdrop.l8s.co.uk@localhost>,
David Laight <david%l8s.co.uk@localhost> wrote:
>On Sat, Aug 08, 2009 at 05:23:15PM -0400, Christos Zoulas wrote:
>> Module Name: src
>> Committed By: christos
>> Date: Sat Aug 8 21:23:15 UTC 2009
>>
>> Modified Files:
>> src/sys/sys: bswap.h cdefs.h endian.h termios.h
>>
>> Log Message:
>> Create and use __CAST(type, value) in headers so that modern c++ with
>> -Wold-style-casts does not bitch.
>
>Do we really have to do that, it starts making files completely unreadable.
The alternative is to use __CAST(type), but then we need to be careful
so that the next value is parenthesized in c++. I don't think that it is
preferable.
christos
Home |
Main Index |
Thread Index |
Old Index