extending Python error

Ajay abra9823 at mail.usyd.edu.au
Sat Sep 4 15:10:22 CEST 2004


hi!

I have a c++ file that does some XML processing (visual c++ using ATL). The
file builds fine. However when i add the header #include<Python.h>, i get a
number of errors
C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5395) :
error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
from 'const unsigned short *' to 'const char *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5396) :
error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
from 'unsigned short [4]' to 'const char *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast

any ideas where the errors are coming from?

thanks





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Python-list mailing list