integer conversion warnings?
Ish Rattan
ishwar@pali.cps.cmich.edu
Wed Mar 27 09:50:00 GMT 2002
I do not think so. Stay with Borland sofware..
-ishwar
On Wed, 27 Mar 2002, Egon Eckert wrote:
> Hi,
>
> is gcc/g++ able to warn me in these cases:
>
> short int a;
> long int b;
> a = b;
>
> that the conversion may lose significant digits? Borland's
> compiler does it and I would really appreciate that. :-)
>
> I didn't find the answer in FAQs nor in list archives nor
> with Google -- is it *so* obvious? :-O
>
> Thanks,
>
>
More information about the Gcc-help
mailing list