Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!portal!cup.portal.com!Sullivan From: Sullivan@cup.portal.com (sullivan - segall) Newsgroups: comp.sys.amiga Subject: Re: what's wrong with this picture? Message-ID: <17591@cup.portal.com> Date: 26 Apr 89 02:25:56 GMT References: <13853@louie.udel.EDU> Distribution: usa Organization: The Portal System (TM) Lines: 32 >Ok, I give up. Why does the following (example code for a doubly-linked- >list) give the compiler warning "pointer/int conversion"? > [code deleted] > >(Manx 3.6a, compiling with cc file, linking with ln file -lm -lc > Unfortunately Manx isn't a very good replacement for lint. I would recommend including the file if you are going to use malloc. Otherwize your (manxified) 16bit Ints coming from malloc are going to get turned into 32bit pointers. And wheee! you start writing all over the first 64k of ram. >Thanks much, >Lois Mermelstein >mermelstein@tel.inrs.cdn or >mermelstein@inrs-telecom.uquebec.ca How I long for a good ANSI compiler... Anyone know when 5.0 is coming out? -Sullivan Segall _____________________________________________________________ /V\ Sully set the example: to fly without moving. We shall ' learn to soar on wings of thought. And the student will surpass the teacher. To Quote the immortal Socrates: "I drank what?" -Sullivan _____________________________________________________________ Mail to: ...sun!portal!cup.portal.com!Sullivan or Sullivan@cup.portal.com