Re: Where did the warning go?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux