FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

wchar to unicode bug?

 
Post new topic   Reply to topic     Forum Index -> PyD
View previous topic :: View next topic  
Author Message
christof



Joined: 09 Jan 2008
Posts: 7
Location: Hamburg/ Germany

PostPosted: Thu Feb 21, 2008 8:23 am    Post subject: wchar to unicode bug? Reply with quote

Hi all,

I guess this is a bug, but I am not sure. Does anyone have an idea how to avoid it? I am using celerid RC1 and Dmd v1.025.

Thanks,
Christof


Code:

$ python  setup.py build
running build
running build_ext
building 'dtables' extension
sources:  ['dtables.d', 'python.d', 'class_wrap.d', 'ctor_wrap.d', 'def.d', 'dg_convert.d', 'exception.d', 'func_wrap.d', 'lib_abstract.d', 'make_object.d', 'make_wrapper.d', 'op_wrap.d', 'pyd.d', 'pydobject.d', 'struct_wrap.d', 'pydmain.d', 'Default.d', 'Demangle.d', 'Nameof.d', 'Util.d', 'python_dll_windows_boilerplate.d']
c:\D\dmd\bin\dmd.exe -c -version=Python_2_5_Or_Later -version=Python_Unicode_UCS2 -debug -Ic:\python25\lib\site-packages\celerid\infrastructure\python -Ic:\python25\lib\site-packages\celerid\infrastructure -ofbuild\temp.win32-2.5\Release\project\dtables.obj dtables.d
c:\python25\lib\site-packages\celerid\infrastructure\pyd\make_object.d(157): function python.PyUnicodeUCS2_FromWideChar (wchar*,int) does not match parameter types (wchar[],uint)
c:\python25\lib\site-packages\celerid\infrastructure\pyd\make_object.d(157): Error: cannot implicitly convert expression (t) of type wchar[] to wchar*
error: command 'c:\D\dmd\bin\dmd.exe' failed with exit status 1

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> PyD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group