This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.3.0, -Wconversion: assignment-by operators for shorter types
On Tue, May 27, 2008 at 11:29 AM, Andriy Gapon <avg@icyb.net.ua> wrote:
> Should I still open a new one or maybe it's better to follow up on one of
> those two.
>
> And just in case, here's a better description of what I am reporting
> (demonstration by comparison):
The warnings with the below code is correct because of how C/C++
define promotions. It is ^/|/& where the warnings are not correct and
should be solved.
Thanks,
Andrew Pinski