Build environment for PythonCE

Stewart Snyder <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
Hello,

I'm trying to write a small .dll extension for PythonCE for a Windows 
Mobile 2003 device; just something to allow me to use SHFullScreen, 
SIPShowIM, etc.  I think I've got the environment mostly set up, but 
when I try using

#include "Python.h"

I get a series of 8 errors along the lines of "linkage specification 
contradicts earlier specification for 'asctime'", and the same again for 
ctime, clock, gmtime, and a few other time functions.  These errors all 
originate from the armv4\time.h header file.

My build environment is as follows:

Microsoft eMbedded Visual C++ 4.0
Microsoft PocketPC 2003 SDK
Python/PythonCE 2.5 source

I assume I need to change a flag or compiler option somewhere, but I'm 
out of ideas for where to look.  Anyone else know what I'm doing wrong?

Thanks,

Stewart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.