Path: utzoo!attcan!uunet!snorkelwacker!usc!wuarchive!udel!ee.udel.edu From: new@ee.udel.edu (Darren New) Newsgroups: comp.sys.amiga Subject: Re: Lattice atof() - printf() Bug? Message-ID: <31003@nigel.ee.udel.edu> Date: 19 Sep 90 19:21:12 GMT References: <30123@nigel.ee.udel.edu> <30126@nigel.ee.udel.edu> <1990Sep19.174418.22665@unx.sas.com> Sender: usenet@ee.udel.edu Organization: University of Delaware Lines: 30 Nntp-Posting-Host: estelle.ee.udel.edu In article <1990Sep19.174418.22665@unx.sas.com> walker@unx.sas.com (Doug Walker) writes: > >In article <30126@nigel.ee.udel.edu> new@ee.udel.edu (Darren New) writes: >>I just ran into something similar. When I removed -rr from the LC line, >>the bugs went away. >That sounds like you're using the wrong math library. were you linking >with lcmr.lib? Well, my compile line is: LC -iINCLUDE: -rr -cafkrsu -M {f1} {f2} {f3} {f4} ... I link with Tess.link, which contains: FROM LIB:c.o+Tess.o+TessLo.o+TessHi.o+Cube.o+Files.o+* Keys.o+Util3.o+XForm3.o+Util4.o+XForm4.o+ILBM.o+* WriteIlbm.o+Mesg.o TO Tess LIB lib:lcmr.lib+lib:DBugLib.lib+LIB:lcr.lib+LIB:amiga.lib When I take out -rr and the 'r's from the ends of the library names, it works. (DBugLib is mine, and does not currently get called.) When I put them in, any attempt to use printf to print a float or double causes an infinite number of '0' characters to print, and often GURUs and/or stomps low memory. Looks like a bug to me. Any suggestions? -- Darren -- --- Darren New --- Grad Student --- CIS --- Univ. of Delaware --- ----- Network Protocols, Graphics, Programming Languages, Formal Description Techniques (esp. Estelle), Coffee -----