need workaround for compiler bug

mandel myemail at no.com
Tue Oct 23 12:24:22 PDT 2007


Hi D community,

because of some bugs in the dmd compiler (?)
my code (mostly interfaces) doesn't compile any more after I added a file (Search.d).

I have stripped down most stuff now.
But I can't figure out a workaround after days of trying

Atm. I get a undefined reference.
The key problem seems to be the "import core.File_;" in Search.d that triggers the undefined reference. But I need the declarations from that file.

Can anybody give me a hint how to workaround this problem?
But I need to keep the interface structure.

I compile the files this way on my system:
$ rebuild -version=Posix -version=Tango  core/Main.d -ofmain -I/opt/dmd/import -I/usr/include -L-L/opt/dmd/lib -L/opt/dmd/lib/libtango.a -L/opt/dmd/lib/libphobos.a  -L-lz  -oqobj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: files.zip
Type: application/zip
Size: 2153 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20071023/4b5f3f4e/attachment.zip 


More information about the Digitalmars-d-learn mailing list