home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!world!aep
- From: aep@world.std.com (Andrew E Page)
- Subject: MPW C 3.2.3 Bug (ETO #8)
- Message-ID: <BtLIBs.B39@world.std.com>
- Summary: MPW C Bug when using precompiled headers and the -i option
- Keywords: MPW C 3.2.3 ETO 8 BUG PRECOMPILED HEADERS
- Organization: The World Public Access UNIX, Brookline, MA
- Date: Wed, 26 Aug 1992 14:45:27 GMT
- Lines: 56
-
- I am experiencing the following problem with MPW C 3.2.3
-
- When using precompiled headers in the following fasion:
-
- #ifdef USE_PRECOMPILE
- #pragma load ":Headers:dirscanh.hpc"
- #endif
-
- #ifndef __ERRORS__
- #include <Errors.h>
- #endif
- #ifndef __FILES__
- #include <Files.h>
- #endif
- #ifndef __MEMORY__
- #include <Memory.h>
- #endif
- #ifndef __DIRSCAN__
- #include <dirscanh.h>
- #endif
-
- #ifdef PRECOMPILE
- #undef PRECOMPILE
- #pragma dump ":Headers:dirscanh.hpc"
- #endif
-
-
- The C compiler crashes. I get a partial system bomb box with
- an active 'continue' button that puts me back into the MPW Shell.
-
- the dependency for the C command in my make script is as follows:
-
-
- C_OPT = -i Andrew:include:
-
- #
- # Headers
- #
- :Headers:dirscanh.hpc D Path.make dirscanh.h
- C dirscanh.c -d PRECOMPILE {C_OPT}
- #
- # Objects
- #
- Path.c.o D Path.make Path.c dirscanh.h
- C Path.c {C_OPT}
- dirscanh.c.o D Path.make dirscanh.h dirscanh.c
- C dirscanh.c -d USE_PRECOMPILE {C_OPT}
-
- This problem, however disapaears when I remove the
- -i Andrew:include:
-
- .
- --
- Andrew E. Page CTO(Warrior Poet)| Decision and Effort The Archer and Arrow
- DSP Ironworks | The difference between what we are
- Macintosh and DSP Technology | and what we want to be.
-