[comp.sys.mac.programmer] random LightspeedC questions

mikem@uhccux.uhcc.hawaii.edu (Mike Morton) (12/04/88)

I've got assorted random questions about LightspeedC.  These are probably
pretty easy, so email to me and I'll summarize.  Thanks!

I'm writing a set of common functions which will be used in several unrelated
projects.  Every .c file of functions has a .h file supplying prototypes.

 1) I want '#include "protoFoo.h"' to work in several projects.  Is
 the only way to do this to put my folder of common functions into
 the Think C folder?

 2) What are the advantages and disadvantages of the different ways to
 store a common library?  Project?  Source?  Library?

 3) I want these prototypes checked.  But if I turn on "Require function
 prototypes" the compiler will insist on prototypes for everything.  It
 seems there's no "Enforce function prototypes" option, which enforces
 them only when they're declared.

Unrelated to the library problem:

 4) I know that MaxApplZone is in ROM for Mac Plus and later.  But I can't find
 EITHER the trap defined in LSC's include files OR the glue to do it.  What am
 I missing (besides a few hours sleep)?

 5) Who is Carol E. McGarry?  The user's manual indexes her as being on page
 36.  Apparently the signature "CEM8" *does* stand for something :-)

 -- Mike Morton // P.O. Box 11378, Honolulu, HI  96828, (808) 676-6966 HST
      Internet: msm@ceta.ics.hawaii.edu
    (anagrams): Mr. Machine Tool; Ethical Mormon; Chosen Immortal; etc.