-Wconversion versus libstdc++

Manuel López-Ibáñez lopezibanez@gmail.com
Thu Jan 18 00:26:00 GMT 2007


On 18/01/07, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
> On Wed, 17 Jan 2007, Manuel López-Ibáñez wrote:
>
> | On 17/01/07, Paolo Carlini <pcarlini@suse.de> wrote:
> | > ... thanks a lot Gaby both for your practical and theoretical
> | > investigations into this issue, both right to the point! Now, in my
> | > opinion, we should simply remove the bits about signed -> unsigned from
> | > -Wconversion.
> | >
> |
> | I am not sure I am following the conversation.
>
> here it is in pseudo-code.
>
>    int x = some value;
>    // ...
>    unsigned y = x  // please don't spit noise here
>

Does that apply also to:

unsigned int y = -10;



More information about the Libstdc++ mailing list