At 05:12 PM 4/5/2005, you wrote:
I'm trying to build a CodeWarrior Palm Project that includes <POL.h>. When I try to build after inclding POL.h I get a bunch of new errors in the include files included by Pol.h. The first is:

class CDateTime : public DateTimeType
Error   : illegal struct/union/enum/class definition
(included from:
 POL.h:218
 Test2.cpp:12)
POLDateTime.h line 42   class CDateTime : public DateTimeType

but there are a whole bunch more.

If I try to build one of the sample projects included with CW 9.2 (such as POLTest.mcp), there are no error as a result of including <POL.h> but I can't see any difference in my project. I have verified that the same include files are being included in bothe cases, bit in my project, erros abound.
Anyone knopw what the prblem might be here?

Try including <PalmOS.h> first before including <POL.h>. The standard wizard-built projects using precompiled headers that include all of the POL and Palm OS headers for you.



-- Ben Combee, Senior Software Engineer, palmOne, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/


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

Reply via email to