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

Pyd not working with dmd 1.014?

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



Joined: 06 Feb 2007
Posts: 55

PostPosted: Thu May 10, 2007 2:22 am    Post subject: Pyd not working with dmd 1.014? Reply with quote

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
View user's profile Send private message
simhau



Joined: 06 Feb 2007
Posts: 55

PostPosted: Thu May 10, 2007 3:21 am    Post subject: Reply with quote

Tested some more, and ff I set with_st=False it compiles and works.
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