At 17:08 2002-10-11 -0400, you wrote:
I have a Palm project in which I needed to have
#define ALLOW_ACCESS_TO_INTERNALS_OF_LISTS
#define ALLOW_ACCESS_TO_INTERNALS_OF_SCROLLBARS
before the #include <PalmOS.h>
I have put this in my source file and I have also put this in
PalmOS.win.pch
PalmOS_strict.win.pch
PalmOS_Debug.win.pch
PalmOS_Strict_Debug.win.pch
These are in the BuildHeaders.mcp under Palm OS Device.

The error that I get when I compiled is:
illegal use of incomplete struct/union/class 'struct ListType

Somehow I got this to work for the debug target but not the release target.
I have also tried to recompiled the PalmOSGlue.lib but this does not help.
Does anyone know how I can do this?
Do you get this error when you recompile the precompiled header files, or when you use them?

Your method seems sound, although it would be better for you to define your own precompiled header source file. These headers you list are the sources for the fours standard precompiled header files. Have you confirmed that BuildHeaders.mcp has rebuild all four items?


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to