Quieten -Wconversion warnings for bit-fields
Christian Iseli
Christian.Iseli@licr.org
Tue Mar 25 23:30:00 GMT 2008
Dear Manuel,
On Sun, 23 Mar 2008 20:15:18 +0100, Manuel López-Ibáñez wrote:
> I believe sm & 1U could and should silence the warning. Please, open
> a bug report http://gcc.gnu.org/bugs.html and add manu@gcc.gnu.org to
> the CC list.
Done. It is bug 35701 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35701
I hope I did it properly...
> We probably have a similar issue with unsigned short x = sm & 1U; or
> does that work?
Yes, there is the same issue. I also included it in the test case.
Kind regards,
Christian
More information about the Gcc-help
mailing list