Date: Mon, 1 Mar 1999 11:47:19 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Carlos Giani_AEN2003 (M2003)" cc: djgpp AT delorie DOT com Subject: Re: BUG In-Reply-To: <41E9C77ACC@pcc.tgm.ac.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 1 Mar 1999, Carlos Giani_AEN2003 (M2003) wrote: > Well, if you rewrite the above: > y= (x) ? 1 : 2 > > y will ALWAYS be 1, and NEVER 2. You have to correct it to: > > y= (x!=0) ? 1 : 2 I cannot reproduce this bug. Could you please post a *complete* program that can be compiled and which exhibits this problem? Also, please tell what version of the compiler are you using ("gcc --version" will print it), and what command line you used to compile the program.