Where did the warning go?

Eivind LM eivliste@online.no
Fri Feb 13 17:57:00 GMT 2009


Thank you for your quick and helpful reply, Eljay! I added the  
-Wconversion flag, and then the warning appeared as I wanted in all g++  
versions on my system :)

So the problem seems to be that my g++-4.1 includes the -Wconversion by  
default, while the others don't. Is the set of default warnings known to  
vary between versions and platforms?

Eivind

On Fri, 13 Feb 2009 17:26:17 +0100, John (Eljay) Love-Jensen  
<eljay@adobe.com> wrote:

> Hi Eivind,
>
> Worked for me.  I didn't have the exact versions of GCC you were using,  
> though.
>
> Did you specify -Wconversion?
>
> Sincerely,
> --Eljay
>
>




More information about the Gcc-help mailing list