home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!chx400!sicsun!slhp1.epfl.ch!lecom
- From: lecom@slhp1.epfl.ch (Claude Lecommandeur)
- Newsgroups: comp.soft-sys.andrew
- Subject: Re: Finalize Object function
- Message-ID: <3810@sicsun.epfl.ch>
- Date: 29 Jul 92 09:03:36 GMT
- References: <1992Jul28.160804.12@and.csc.liv.ac.uk>
- Sender: news@sicsun.epfl.ch
- Organization: Ecole Polytechnique Federale de Lausanne
- Lines: 39
-
- In article <1992Jul28.160804.12@and.csc.liv.ac.uk>, damon@csc.liv.ac.uk (Mr. D.A. Chaplin) writes:
- |> Is the FinalizeObject function automatically called for the top level
- |> object when you Quit? I would have thought this would happen but it
- |> doesn't seem to. If it's not automatic, how should I call it - in the Quit
- |> function?
- |>
- |> This problem may be related to a warning message I get when class
- |> preprocesses every header:
- |>
- |>
- |> /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
- |> WARNING:muchview.ch: - FinalizeObject routine declared with no InitializeObject routine
- |>
-
- This warning is due to a buggy lex on HP. What i did was to redefine LEX
- to call a script which do the lex on a Sun :
-
- LEX=sunlex (in some makefile)
-
- and sunlex is :
-
- #!/bin/sh
- # ----- executing lex on a sun to work around a bug on the HP one
- #
- if [ $# != 1 ]; then
- echo "Usage : $0 lexfile"
- exit 1
- fi
- cat $1 | remsh somesun -l someuser_with_.rhosts lex -t > lex.yy.c
-
- --
-
-
- Claude Lecommandeur
- Service Informatique Central
- Ecole Polytechnique Federale de Lausanne
- 1015 LAUSANNE (SWITZERLAND)
- E-Mail : lecom@sic.epfl.ch
- Tel : (41 21) 693-22-97
-