Title: 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

Reply via email to