--- Comment #2 from tom at atoptech dot com 2009-02-12 18:10 ---
Subject: Re: -Wconversion useless
You miss the point. The only way to assign a non-constant value to a bit
field outside of a struct is using an integral variable i.e.,
struct foo
{
int a : 2;
};
void assign( struct
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-12 17:39 ---
Really -Wconversion is correct to warn about bit-fields because the conversion
will lose bits.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--