christof
Joined: 09 Jan 2008 Posts: 7 Location: Hamburg/ Germany
|
Posted: Thu Feb 21, 2008 8:23 am Post subject: wchar to unicode bug? |
|
|
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
|
|
|