From: Derek Upham (upham@cs.ubc.ca)
Date: 04/05/93


From: upham@cs.ubc.ca (Derek Upham)
Subject: Re: Trouble making oleo-1.3 under Linux
Date: 5 Apr 1993 17:49:42 GMT

rick@ee.uwm.edu (Rick Miller, Linux Device Registrar) writes:

>I'm having difficulty compiling oleo-1.3 under Linux, but I can't understand
>the cause of the errors. They seem to refer to something that's not there!!

The pre-processor is choking on some ``recursive'' macros and pro-
ducing garbage. Near the top of the file, there are two lines that
look something like

  #define text the_curr_arg.text
  [. . .]
  #define cursor the_curr_arg.cursor

The problem springs from the macro being identical to the struct
member. To fix things, change the macro names to arg_text and
arg_cursor there and throughout the file. Then it should compile
(but having it work is another matter---the sample spreadsheet tends
to dump core on me).

Derek

-- 
Derek Lynn Upham                               University of British Columbia
upham@cs.ubc.ca                                   Computer Science Department
=============================================================================
"Ha!  Your Leaping Tiger Kung Fu is no match for my Frightened Piglet Style!"