Sender: nate AT cartsys DOT com Message-ID: <3612F0B1.A21654E5@cartsys.com> Date: Wed, 30 Sep 1998 20:02:09 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: Olivier Perron CC: djgpp AT delorie DOT com Subject: Re: About gcc warning messages References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 . -- Nate Eldredge nate AT cartsys DOT com