Ben and Al, you've been very helpful, I believe I've done everything you've 
said, but I'm still doing something wrong. Sorry to trouble you again but I 
just can't work it out.

This is what's in my Access Paths under "User Paths":
[ticked] {Project}
[ticked] {Compiler}MathLib\Src

This is what's in my Access Paths under "System Paths":
[ticked] {Compiler}Palm OS 3.1 Support
[ticked] {Compiler}Palm OS Support

These are the errors I get when compiling:
Error   : macro 'SHELL_COMMAND_UI' redefined
AppBuildRules.h line 31   #define SHELL_COMMAND_UI   0 // Not Available

Error   : macro 'SHELL_COMMAND_APP' redefined
AppBuildRules.h line 32   #define SHELL_COMMAND_APP   0 // Not Available

Error   : preprocessor #error directive
BuildRules.h line 266   #error "LANGUAGE is now obsolete; use LOCALE and 
include PalmOptLocale.h"

Error   : illegal token
BuildRules.h line 266   #if   LANGUAGE == LANGUAGE_ENGLISH

Warning : identifier 'UInt16' redeclared
Common.h line 158   typedef unsigned short  UInt16;

Warning : identifier 'UInt32' redeclared
Common.h line 159   typedef unsigned long   UInt32;

Warning : identifier 'Int16' redeclared
Common.h line 163   typedef short    Int16;

Warning : identifier 'Int32' redeclared
Common.h line 167   typedef long    Int32;

Warning : identifier 'Boolean' redeclared
Common.h line 173   typedef unsigned char Boolean;

Warning : identifier 'Char' redeclared
Common.h line 176   typedef char    Char;   // Used for character strings

Warning : identifier 'WChar' redeclared
Common.h line 178   typedef unsigned short WChar;  // 'wide' int'l character 
type.

Error   : identifier 'Err' redeclared
was declared as: 'unsigned short'
now declared as: 'short'
Common.h line 189   typedef short    Err;

Warning : identifier 'LocalID' redeclared
Common.h line 191   typedef DWord    LocalID;  // local (card relative) 
chunk ID

Warning : identifier 'ProcPtr' redeclared
Common.h line 260   typedef Long (*ProcPtr)();

Error   : macro 'SYS_TRAP' redefined
SysTraps.h line 1104     
TWOWORD_INLINE(m68kTrapInstr+sysDispatchTrapNum,trapNum)

Error   : preprocessor #error directive
Window.h line 19   #error "GRAPHICS_VERSION is an obsolete build flag!"

Error   : illegal token
Window.h line 19   #if  GRAPHICS_VERSION == GRAPHICS_VERSION_2

Error   : identifier 'BitmapFlagsType' redeclared
was declared as: 'struct '
now declared as: 'struct BitmapFlagsType'
Bitmap.h line 90   BitmapFlagsType;

Error   : identifier 'BitmapType' redeclared
was declared as: 'struct '
now declared as: 'struct BitmapType'
Bitmap.h line 106   BitmapType;

Warning : identifier 'BitmapPtr' redeclared
Bitmap.h line 107   typedef BitmapType* BitmapPtr;

Error   : illegal function definition
DateTime.h line 164   void TimeToAscii(Byte hours, Byte minutes, 
TimeFormatType timeFormat,

Error   : illegal name overloading
DateTime.h line 165       CharPtr pString)

Error   : declaration syntax error
DateTime.h line 166   = {0x4E40+15,0xA268}

Error   : illegal function definition
DateTime.h line 195       DateFormatType dateFormat, CharPtr pString)

Error   : declaration syntax error
DateTime.h line 196   = {0x4E40+15,0xA266}

Error   : illegal function definition
DateTime.h line 199       DateFormatType dateFormat, CharPtr pString)

Error   : declaration syntax error
DateTime.h line 200   = {0x4E40+15,0xA267}

Warning : identifier 'ErrJumpBuf' redeclared
ErrorMgr.h line 201    typedef long* ErrJumpBuf[12];   // D3-D7,PC,A2-A7

Error   : struct/union/enum/class tag 'ErrExceptionType' redefined
ErrorMgr.h line 205   typedef struct ErrExceptionType {

Error   : identifier 'ErrExceptionType' redeclared
was declared as: 'struct ErrExceptionType'
now declared as: 'struct '
ErrorMgr.h line 209    } ErrExceptionType;

Warning : identifier 'ErrExceptionPtr' redeclared
ErrorMgr.h line 210   typedef ErrExceptionType* ErrExceptionPtr;

Error   : macro 'ErrTry' redefined
ErrorMgr.h line 220     if (ErrSetJump(_TryObject.state) == 0) {

Error   : macro 'ErrCatch' redefined
ErrorMgr.h line 234      *ErrExceptionList() = (Ptr)_TryObject.nextP;

Error   : identifier 'ErrExceptionList()' redeclared
was declared as: 'void ** ()'
now declared as: 'char ** ()'
ErrorMgr.h line 263   = {0x4E40+15,0xA088}

Error   : ')' expected
Localize.h line 31   void   LocGetNumberSeparators(NumberFormatType 
numberFormat,

Error   : illegal function definition
Localize.h line 32       Char *thousandSeparator, Char *decimalSeparator)

Error   : ';' expected
Localize.h line 33   = {0x4E40+15,0xA2F9}

Error   : preprocessor #error directive
Window.h line 19   #error "GRAPHICS_VERSION is an obsolete build flag!"

Error   : illegal token
Window.h line 19   #if  GRAPHICS_VERSION == GRAPHICS_VERSION_2

Warning : identifier expected
Preferences.h line 65   ((CountryType)0)

Error   : '}' expected
Preferences.h line 65   ((CountryType)0)

Error   : ')' expected
Preferences.h line 66   ((CountryType)1)

Error   : ')' expected
Preferences.h line 67   ((CountryType)2)

Error   : ')' expected
Preferences.h line 68   ((CountryType)3)

Error   : ')' expected
Preferences.h line 69   ((CountryType)4)

Error   : ')' expected
Preferences.h line 70   ((CountryType)5)

Error   : ')' expected
Preferences.h line 71   ((CountryType)6)

Error   : ')' expected
Preferences.h line 72   ((CountryType)7)

Error   : ')' expected
Preferences.h line 73   ((CountryType)8)

Error   : ')' expected
Preferences.h line 74   ((CountryType)9)

Error   : ')' expected
Preferences.h line 75   ((CountryType)10)

Error   : ')' expected
Preferences.h line 76   ((CountryType)11)

Error   : ')' expected
Preferences.h line 77   ((CountryType)12)

Error   : ')' expected
Preferences.h line 78   ((CountryType)13)

Error   : ')' expected
Preferences.h line 79   ((CountryType)14)

Error   : ')' expected
Preferences.h line 80   ((CountryType)15)

Error   : ')' expected
Preferences.h line 81   ((CountryType)16)

Error   : ')' expected
Preferences.h line 82   ((CountryType)17)

Error   : ')' expected
Preferences.h line 83   ((CountryType)18)

Error   : ')' expected
Preferences.h line 84   ((CountryType)19)

Error   : ')' expected
Preferences.h line 85   ((CountryType)20)

Error   : ')' expected
Preferences.h line 86   ((CountryType)21)

Error   : ')' expected
Preferences.h line 87   ((CountryType)22)

Error   : ')' expected
Preferences.h line 88   ((CountryType)23)

Error   : declaration syntax error
Preferences.h line 92    } CountryType;

Warning : identifier expected
TextMgr.h line 42   ((CharEncodingType)0)

Error   : '}' expected
TextMgr.h line 42   ((CharEncodingType)0)

Error   : ')' expected
TextMgr.h line 44   ((CharEncodingType)1)

Error   : ')' expected
TextMgr.h line 45   ((CharEncodingType)2)

Error   : ')' expected
TextMgr.h line 46   ((CharEncodingType)3)

Error   : ')' expected
TextMgr.h line 47   ((CharEncodingType)4)

Error   : ')' expected
TextMgr.h line 48   ((CharEncodingType)5)

Error   : ')' expected
TextMgr.h line 49   ((CharEncodingType)6)

Error   : ')' expected
TextMgr.h line 50   ((CharEncodingType)7)

Error   : ')' expected
TextMgr.h line 51   ((CharEncodingType)8)

Error   : declaration syntax error
TextMgr.h line 52   } CharEncodingType;

Error   : macro 'encodingNameCP1252' redefined
TextMgr.h line 72   #define encodingNameCP1252   
"ISO-8859-1-Windows-3.1-Latin-1"

Error   : preprocessor #error directive
Window.h line 19   #error "GRAPHICS_VERSION is an obsolete build flag!"

Error   : illegal token
Window.h line 19   #if  GRAPHICS_VERSION == GRAPHICS_VERSION_2

Error   : ')' expected
Category.h line 35   extern void CategoryCreateListV10 (const DmOpenRef db, 
const ListPtr lst,

Error   : declaration syntax error
Category.h line 36    const Word currentCategory, const Boolean showAll)

Error   : declaration syntax error
Category.h line 37   = {0x4E40+15,0xA101}

Error   : ')' expected
Category.h line 39   extern void CategoryCreateList (const DmOpenRef db, 
const ListPtr listP,

Error   : declaration syntax error
Category.h line 40    const Word currentCategory, const Boolean showAll,

Error   : declaration syntax error
Category.h line 41    const Boolean showUneditables, const Byte 
numUneditableCategories,

Error   : declaration syntax error
Category.h line 42    const DWord editingStrID, const Boolean resizeList)

Error   : declaration syntax error
Category.h line 43   = {0x4E40+15,0xA2C3}

Error   : ')' expected
Category.h line 46   extern void CategoryFreeListV10 (const DmOpenRef db, 
const ListPtr lst)

Error   : declaration syntax error
Category.h line 47   = {0x4E40+15,0xA102}

Error   : ')' expected
Category.h line 49   extern void CategoryFreeList (const DmOpenRef db, const 
ListPtr listP,

Error   : declaration syntax error
Category.h line 50    const Boolean showAll, const DWord editingStrID)

Error   : declaration syntax error
Category.h line 51   = {0x4E40+15,0xA2C4}

Error   : ')' expected
Category.h line 70   extern Boolean CategorySelectV10 (const DmOpenRef db, 
const FormPtr frm,

Error   : declaration syntax error
Category.h line 71    const Word ctlID, const Word lstID, const Boolean 
title, const WordPtr categoryP,

Error   : illegal name overloading
Category.h line 72    CharPtr categoryName)

Error   : declaration syntax error
Category.h line 73   = {0x4E40+15,0xA106}

Error   : ')' expected
Category.h line 75   extern Boolean CategorySelect (const DmOpenRef db, 
const FormPtr frm,

Error   : declaration syntax error
Category.h line 76    const Word ctlID, const Word lstID, const Boolean 
title, const WordPtr categoryP,

Error   : illegal name overloading
Category.h line 77    CharPtr categoryName, const Byte 
numUneditableCategories, DWord editingStrID)

Error   : declaration syntax error
Category.h line 78   = {0x4E40+15,0xA2C6}

Error   : ')' expected
Category.h line 83   extern void CategorySetTriggerLabel (const ControlPtr 
ctl, CharPtr name)

Error   : declaration syntax error
Category.h line 84   = {0x4E40+15,0xA108}

Error   : ';' expected
Form.h line 132    ListType *     list;

Error   : declaration syntax error
Form.h line 133    TableType *     table;

Error   : identifier 'title' redeclared
was declared as: 'unsigned char'
now declared as: 'struct  *'
Form.h line 139    FormTitleType *   title;

Error   : declaration syntax error
Form.h line 143    ScrollBarType *   scrollBar;

Error   : declaration syntax error
Form.h line 144   } FormObjectType;

Error   : ';' expected
Form.h line 151    FormObjectType    object;

Error   : declaration syntax error
Form.h line 152   } FormObjListType;

Error   : ';' expected
Form.h line 181    FormObjListType *   objects;

Error   : declaration syntax error
Form.h line 182   } FormType;

Error   : illegal name overloading
Form.h line 185   typedef FormType * FormPtr;

Error   : ';' expected
Form.h line 218   extern FormPtr FrmInitForm (const Word rscID)

Error   : declaration syntax error
Form.h line 219   = {0x4E40+15,0xA16F}




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to