Path: utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!pansy.cis.ohio-state.edu!topping From: topping@pansy.cis.ohio-state.edu (brian e topping) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW 3.0 C #pragma dump Keywords: pragma dump, pragma load Message-ID: <57082@tut.cis.ohio-state.edu> Date: 8 Aug 89 18:20:26 GMT References: <1412@hydra.gatech.EDU> Reply-To: brian e topping Organization: Ohio State University Computer and Information Science Lines: 23 I have had a lot of problems with #pragma [load|dump] also. Mostly with load. It seems that C freaks if there are command line defines (-d option) in place that werent there at dump time. I use load & dump in a file I call "includes.h", which is a slightly modified version of Dave Burnards "LOADDUMPDEMO.h". Depending on #defines, it will either use or create a dumpfile. I modified mine so that it will always use the dumpfile unless the makefile determines the dump is out of date, and then recompiles it with the -c option, so an empty object file is produced. If anybody wants this, send email. It really helps. I don't know that I have found a pattern to the errors yet, and the one I usually get (can't remember right now) is so cryptic that I am not sure that I understand it. Why didn't Apple put an explanation for these errors in an appendix of the C manual? Don't say to reduce duplication costs, cause all of the include files that used to be in the back of the manual are no more. Brian Topping