Re: Disabling precompiled headersAn easier way might be to put
#define PILOT_PRECOMPILED_HEADERS_OFF
in your source code just before
#include <Pilot.h>
so it looks like:
#define PILOT_PRECOMPILED_HEADERS_OFF
#include <Pilot.h>
And yes, this is the same for Palm OS 3.1 (not sure about Palm OS 3.5
though)
Rgds,
Jun-Kiat Lam
Metrowerks Technical Support
----- Original Message -----
From: Danny Epstein
To: [EMAIL PROTECTED]
Sent: Wednesday, November 24, 1999 6:09 PM
Subject: Re: Disabling precompiled headers
At 3:52 PM -0800 11/24/99, Richard Hartman wrote:
How do I disable precompiled headers?
I put the following in my prefix file:
// Define this so we don't use the PalmOS pre-compiled headers. This makes
// each .c file include all the PalmOS include files, which slows
compilation
// but makes the editor coloring work better, although it still can't color
// PalmOS routine names since it lacks the source code for them. This must
// be done before we include Pilot.h.
#ifndef PILOT_PRECOMPILED_HEADERS_OFF
#define PILOT_PRECOMPILED_HEADERS_OFF
#endif
// We include Pilot.h since every compilation unit should do this. This must
// be done before we check EMULATION_LEVEL.
#include <Pilot.h> // Must be first.
Note that this is for the 3.0 SDK. The names probably changed for 3.5 and
possibly for 3.1.
-
Danny Epstein, Applied Thought Corporation
Have friends with Palm organizers? Get BeamBooks!
http://www.appliedthought.com/beambooks