View previous topic :: View next topic |
Author |
Message |
gizmomogwai
Joined: 08 Jan 2007 Posts: 4
|
Posted: Wed May 09, 2007 9:56 am Post subject: tioport and tango |
|
|
what is the newest tango version that works with tioport?
i tried svn-revision r2176 and that version did not work with tiopot (could not compile dejavu with errors like:
dejavu/Intern.d:1939: Error: no property 'find' for type 'object.ClassInfo'
dejavu/Intern.d:1939: Error: function expected before (), not 1 of type int
dejavu/Intern.d:1939: Error: cannot implicitly convert expression (1(mod ~ ".TioPort_ModuleInit")) of type int to object.ClassInfo
is r2110 the only tango-version that works with tioport?
thanks
christian |
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Wed May 09, 2007 12:59 pm Post subject: |
|
|
I haven't tried a newer revisions... but i will do, in the next few days.
Accordingly to http://www.dsource.org/projects/tango/browser/trunk/object.di
line 54 the find() method exists for DMD for the actual revision.
Are you using DMD?
If you are using GDC, you will either need to use the actual version from SVN or you need to wait for the next release |
|
Back to top |
|
|
gizmomogwai
Joined: 08 Jan 2007 Posts: 4
|
Posted: Wed May 09, 2007 1:58 pm Post subject: |
|
|
mhh .. im using gdc on osx (and i have the latest tango-sources installed).
seems find is only defined for version( DigitalMars )? what do you propose?
thanks |
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Wed May 09, 2007 10:36 pm Post subject: |
|
|
Anders (AFB) did try to make SWT build with GDC on Mac. AFAIK he was not yet successfully.
The reason for this is, that GDC 0.23 is based on a DMD frontend that is too old to compile the SWT. Some bugs fixes, essential for SWT, were fixed in DMD 1.013.
This is why you will need to have a more actual version.
I hope, afb will give it another try, when GDC 0.24 is released. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Fri May 11, 2007 1:29 am Post subject: |
|
|
keinfarbton wrote: | I hope, afb will give it another try, when GDC 0.24 is released. |
Sure... BTW I see that GDC is now updated up to DMD 1.014 in the SVN. |
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Fri May 11, 2007 1:41 am Post subject: |
|
|
Yes, Gregor already used it successfully to build examples on linux. Thez compiled and linked, only the -circular option was needed.
Some of the examples have runtime problems. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Fri May 11, 2007 2:21 pm Post subject: |
|
|
keinfarbton wrote: | Yes, Gregor already used it successfully to build examples on linux. Thez compiled and linked, only the -circular option was needed. |
Makes sense, since rebuild's "-circular" is the same as GDC's "-fall-sources" |
|
Back to top |
|
|
|