X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <41E08DBF.AFC9C49A@yahoo.com> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Strange problems with printf() References: <01c4f56a$Blat.v2.2.2$ecce5460 AT zahav DOT net DOT il> <6_TDd.54474$nP1 DOT 27946 AT twister DOT socal DOT rr DOT com> <01c4f5be$Blat.v2.2.2$9e630f60 AT zahav DOT net DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 24 Date: Sun, 09 Jan 2005 02:05:51 GMT NNTP-Posting-Host: 12.76.131.47 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1105236351 12.76.131.47 (Sun, 09 Jan 2005 02:05:51 GMT) NNTP-Posting-Date: Sun, 09 Jan 2005 02:05:51 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Samuel Lauber wrote: > ... snip ... > > Test code (slightly modified from the one in the orig. post, but > it was the code that first revealed it): > > int printf(char *, ...); > > int main(void) > { > printf("%f\n", 5.86); > return 0; > } And what happens when you replace that snarky printf declaration with the correct "#include "? -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!