[comp.sys.mac.programmer] Think C 4.0 Problem

mpp@cunixa.cc.columbia.edu (Michael P Pyle) (11/14/89)

I'm having a problem with included files using Think C 4.0 and was
wondering if any one here had an idea as to what is going on.  I have
a file called Structures.h which contains all of my user defined
structures. Everything was going along fine until I had to add a point
variable to one of my structures.  Since that addition, any file that
I try to compile that uses this newly added variable, Think C will
refuse giving the alert that the newly added variable is an unknown
structure. I only get this alert at the points where I access that
specific variable, the rest of the structure which was around before I
added this new variable causes no problem at all.  I have found a work
around for this, that being that if the Structures.h file is open when
I compile a file that depends on this new variable everything works
fine. Since having this problem, I have had to add several other
variables to a different structure and have run into the same problem
when compiling files which depend on theses variables.

I called technical support at Symantec but they were unable to help. I
am running a SE/30, 4/80 using system 6.0.3.  The problems above
occured independent of any INIT's as I got the same results without
running any INIT's at all. Right now, I am at a complete loss, the
problem isn't fatal but it is annoying. Any response would be
appreciated.

Thanks,

Mike Pyle

No .sig yet ( still working on it )