In article <20090809191929.gc3...@snowdrop.l8s.co.uk>,
David Laight  <da...@l8s.co.uk> 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

Reply via email to