Hello,
I am using EVC4 with the pocketpc 2003 SDK.
When I try to compile a set of c files that I have added to the Source Files
for a workspace that I have set up, I get a lot of errors in the include
files that came with the pocketPC 2003 SDK.
Im assuming that I have not set up the project or EVC4 correctly.
I have tried creating the project as a WCE ppc 2003 application, targeted
for the WCE ARMV4 and win32 emulator, as an empty project, simple windows CE
application and a typical hello world application.
Compiling the Typical Hello World app worked fine, before I added my C files.
Here are some examples of the errors/warnings I get, any pointers anyone has
would be greatly appreciated, I have not used VC/VS or EVC before. Thanks!
Compiling...
xcnv.c
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\emulator\stdlib.h(752) : error C2143: syntax error : missing ':'
before 'constant'
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\emulator\stdlib.h(752) : error C2143: syntax error : missing ';'
before ':'
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\emulator\stdlib.h(752) : error C2059: syntax error : ':'
...
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\emulator\winnt.h(2890) : warning C4005: 'CONTEXT_CONTROL' :
macro redefinition
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\emulator\winnt.h(1318) : see previous definition of
'CONTEXT_CONTROL'
...