delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/30/08:24:21

Date: Mon, 28 Sep 1998 10:14:02 +0200 (MET DST)
From: Olivier Perron <perron AT art DOT alcatel DOT fr>
X-Sender: perron AT rtbsci158s
To: djgpp AT delorie DOT com
Subject: About gcc warning messages
Message-Id: <Pine.GSO.3.96.980928101305.670G-100000@rtbsci158s>
Mime-Version: 1.0

Hi,

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.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019