home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / softsys / andrew / 1108 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.8 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!chx400!sicsun!slhp1.epfl.ch!lecom
  2. From: lecom@slhp1.epfl.ch (Claude Lecommandeur)
  3. Newsgroups: comp.soft-sys.andrew
  4. Subject: Re: Finalize Object function
  5. Message-ID: <3810@sicsun.epfl.ch>
  6. Date: 29 Jul 92 09:03:36 GMT
  7. References: <1992Jul28.160804.12@and.csc.liv.ac.uk>
  8. Sender: news@sicsun.epfl.ch
  9. Organization: Ecole Polytechnique Federale de Lausanne
  10. Lines: 39
  11.  
  12. In article <1992Jul28.160804.12@and.csc.liv.ac.uk>, damon@csc.liv.ac.uk (Mr. D.A. Chaplin) writes:
  13. |> Is the FinalizeObject function automatically called for the top level
  14. |> object when you Quit? I would have thought this would happen but it
  15. |> doesn't seem to. If it's not automatic, how should I call it - in the Quit
  16. |> function?
  17. |> 
  18. |> This problem may be related to a warning message I get when class
  19. |> preprocesses every header:
  20. |> 
  21. |> 
  22. |>         /usr/local/andrew/bin/class -s -I../include -I/usr/local/andrew/include/atk -I/usr/local/andrew/include -I/usr/include/X11R4 muchview.ch
  23. |>  WARNING:muchview.ch: - FinalizeObject routine declared with no InitializeObject routine
  24. |> 
  25.  
  26.     This warning is due to a buggy lex on HP. What i did was to redefine LEX
  27. to call a script which do the lex on a Sun :
  28.  
  29. LEX=sunlex  (in some makefile)
  30.  
  31. and sunlex is :
  32.  
  33. #!/bin/sh 
  34. # ----- executing lex on a sun to work around a bug on the HP one
  35. #
  36. if [ $# != 1 ]; then
  37.     echo "Usage : $0 lexfile"
  38.     exit 1
  39. fi
  40. cat $1 | remsh somesun -l someuser_with_.rhosts lex -t > lex.yy.c
  41.  
  42. -- 
  43.  
  44.  
  45.                     Claude Lecommandeur
  46.                     Service Informatique Central
  47.                     Ecole Polytechnique Federale de Lausanne
  48.                     1015 LAUSANNE (SWITZERLAND)
  49.                     E-Mail : lecom@sic.epfl.ch
  50.                     Tel : (41 21) 693-22-97
  51.