This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help with bit-field semantics in C and C++
Michael Matz <matz@suse.de> writes:
>> I don't think so. The explicit cast also suggests that the conversion
>> may not be a nop.
>
> IMHO it suggests type safety. I'm against the notion that any syntactic
> structure already implicitely suggests a certain behaviour, in this case
> non-nopiness ;)
I would agree if the cast were optional, but since it is required it has a
stronger role, IMHO.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."