long int / int assignment warnings

Jonathan Wakely jwakely.gcc@gmail.com
Sun Jun 1 15:08:00 GMT 2014


On 1 June 2014 15:11, andre maute wrote:
>
> Is there a compiler flag to force a warning for the first cout line?

That conversion can never alter the value and lose data.

Are you asking for a warning that is issued any time any expression is
converted to a different type?



More information about the Gcc-help mailing list