View previous topic :: View next topic |
Author |
Message |
simhau
Joined: 06 Feb 2007 Posts: 55
|
Posted: Thu May 10, 2007 2:22 am Post subject: Pyd not working with dmd 1.014? |
|
|
I'm using dmd 1.014, Pyd RC1 and Python 2.4.4.
I have the following to test pyd:
import pyd.pyd;
extern (C) void PydMain()
{
module_init();
}
When I try to compile, the compiler just hangs using all resources.
Below are the verbose compiler messages.
BTW. python.d uses the variable ref in line 1876 and 1881, so I had to change those to get it to compile.
C:\temp>c:\d\dmd\bin\dmd.exe -v -c -version=Python_2_4_Or_Later -version=Python_
Unicode_UCS2 -debug -IC:\Python24\lib\site-packages\celerid\infrastructure\pytho
n\2.4 -IC:\Python24\lib\site-packages\celerid\infrastructure -ofbuild\temp.win32
-2.4\Release\project\test.obj -version=Pyd_with_StackThreads test.d
parse test
semantic test
import object (c:\d\dmd\src\phobos\object.d)
import pyd.pyd (C:\Python24\lib\site-packages\celerid\infrastructure\py
d\pyd.d)
import pyd.class_wrap (C:\Python24\lib\site-packages\celerid\infrastru
cture\pyd\class_wrap.d)
import python (C:\Python24\lib\site-packages\celerid\infrastructure\py
thon\2.4\python.d)
import std.c.stdio (c:\d\dmd\src\phobos\std\c\stdio.d)
import std.c.stddef (c:\d\dmd\src\phobos\std\c\stddef.d)
import std.c.stdarg (c:\d\dmd\src\phobos\std\c\stdarg.d)
import std.c.time (c:\d\dmd\src\phobos\std\c\time.d)
import std.c.string (c:\d\dmd\src\phobos\std\c\string.d)
import pyd.ctor_wrap (C:\Python24\lib\site-packages\celerid\infrastructure\py
d\ctor_wrap.d)
import pyd.exception (C:\Python24\lib\site-packages\celerid\infrastructure\py
d\exception.d)
import pyd.lib_abstract (C:\Python24\lib\site-packages\celerid\infrastru
cture\pyd\lib_abstract.d)
import meta.Nameof (C:\Python24\lib\site-packages\celerid\infrastructure\me
ta\Nameof.d)
import meta.Demangle (C:\Python24\lib\site-packages\celerid\infrastructure\me
ta\Demangle.d)
import std.string (c:\d\dmd\src\phobos\std\string.d)
import std.stdio (c:\d\dmd\src\phobos\std\stdio.d)
import std.format (c:\d\dmd\src\phobos\std\format.d)
import std.stdarg (c:\d\dmd\src\phobos\std\stdarg.d)
import std.utf (c:\d\dmd\src\phobos\std\utf.d)
import std.c.stdlib (c:\d\dmd\src\phobos\std\c\stdlib.d)
import std.gc (c:\d\dmd\src\phobos\std\gc.d)
import gcstats (c:\d\dmd\src\phobos\gcstats.d)
import std.uni (c:\d\dmd\src\phobos\std\uni.d)
import std.array (c:\d\dmd\src\phobos\std\array.d)
import std.ctype (c:\d\dmd\src\phobos\std\ctype.d)
import std.traits (c:\d\dmd\src\phobos\std\traits.d)
import std.bind (c:\d\dmd\src\phobos\std\bind.d)
import std.typetuple (c:\d\dmd\src\phobos\std\typetuple.d)
import pyd.func_wrap (C:\Python24\lib\site-packages\celerid\infrastructure\py
d\func_wrap.d)
import pyd.dg_convert (C:\Python24\lib\site-packages\celerid\infrastru
cture\pyd\dg_convert.d)
import pyd.make_object (C:\Python24\lib\site-packages\celerid\infrastru
cture\pyd\make_object.d)
import pyd.pydobject (C:\Python24\lib\site-packages\celerid\infrastructure\py
d\pydobject.d)
import pyd.def (C:\Python24\lib\site-packages\celerid\infrastructure\py
d\def.d)
import pyd.iteration (C:\Python24\lib\site-packages\celerid\infrastructure\py
d\iteration.d)
import st.stackcontext (C:\Python24\lib\site-packages\celerid\infrastru
cture\st\stackcontext.d)
import std.thread (c:\d\dmd\src\phobos\std\thread.d)
import std.c.windows.windows (c:\d\dmd\src\phobos\std\c\windows\windows.d)
import st.tls (C:\Python24\lib\site-packages\celerid\infrastructure\st
\tls.d) |
|
Back to top |
|
|
simhau
Joined: 06 Feb 2007 Posts: 55
|
Posted: Thu May 10, 2007 3:21 am Post subject: |
|
|
Tested some more, and ff I set with_st=False it compiles and works. |
|
Back to top |
|
|
|