long int / int assignment warnings

andre maute andre.maute@gmx.de
Sun Jun 1 15:11:00 GMT 2014


On 06/01/2014 05:08 PM, Jonathan Wakely wrote:
> 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 or less, yes.



More information about the Gcc-help mailing list