delorie.com/archives/browse.cgi | search |
Sender: | nate AT cartsys DOT com |
Message-ID: | <3612F0B1.A21654E5@cartsys.com> |
Date: | Wed, 30 Sep 1998 20:02:09 -0700 |
From: | Nate Eldredge <nate AT cartsys DOT com> |
X-Mailer: | Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) |
MIME-Version: | 1.0 |
To: | Olivier Perron <perron AT art DOT alcatel DOT fr> |
CC: | djgpp AT delorie DOT com |
Subject: | Re: About gcc warning messages |
References: | <Pine DOT GSO DOT 3 DOT 96 DOT 980928101305 DOT 670G-100000 AT rtbsci158s> |
Olivier Perron wrote: > I can't find in gcc docs how to tell gcc to emit a warning message when > the code contains following statement: > > a = b; > > when a is defined as a short and b as a long. > > I think gcc should emit a warning message telling that the conversion may > loose some significant digits, or something like that. I looked it over and can't find anything either, so it looks as though it's not implemented. Perhaps you should suggest it to the GCC people. Send mail to <bug-gcc AT gnu DOT org>. -- Nate Eldredge nate AT cartsys DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |