Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: rince@dcs.warwick.ac.uk (James Bonfield)
Subject: Re: HELP: Compiling XFRACTINT on OSF/1
Date: Mon, 18 Oct 1993 08:11:46 GMT	[thread overview]
Message-ID: <1993Oct18.081146.29606@dcs.warwick.ac.uk> (raw)
In-Reply-To: RFROST.93Oct16204654@degas.jrc.flinders.edu.au

In <RFROST.93Oct16204654@degas.jrc.flinders.edu.au> rfrost@degas.jrc.flinders.edu.au (Richard Frost) writes:


> I have been having _ALOT_ of problems compiling this program.

Hardly suprising - it's most hideous. The worst bits are where a global
variable is defined int in one place, and then externed as char* somewhere
else. Ugh!

The code is riddled with 32 bit pointer assumptions. I did manage to get a
version that worked (it crashed now and then, but in general you could get a
piccy out of it). However I don't think I have the modified source around (got
fed up with my ultra hacks) - sorry. I'll have a look and post back if I find
them.

This was version 1.08 by the way. The main thing to do is grep for all longs
and see whether or not they should be longs. Perhaps they should still be
long, but given a better name such as size_t. Usually they're meant to be int.
Also, just compiling and running under the debugger highlights the above
pointer vs int bug, it's trivial to fix as I recall. In all though it's a
messy program and may take a while.

Good luck,

	James


      reply	other threads:[~1993-10-18  8:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-10-17  0:46 HELP: Compiling XFRACTINT on OSF/1 Richard Frost
1993-10-18  8:11 ` James Bonfield [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox