std.complex

div0 div0 at users.sourceforge.net
Sun May 9 06:41:29 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

eles wrote:
> Thanks for your answer. Me too, I prefer working on linux but for
> some reasons I remain on windows until dmd goes 64-bit.
> 
> For the record, std.stdio works fine:
> 
> Compiling
> 
> import std.stdio;
> 
> int main(){
> writefln("hello!\n");
> 	return 0;
> }
> 
> results in:
> 
> C:\dmd2>dmd test.d
> 
> C:\dmd2>test
> hello!
> 
> So, the problem is somewhere in std.complex.

Doesn't work even with 2.028.
For some reason complex isn't compiled into the standard lib.

You can make it work by passing the full path to complex.d
on the command line along with test.d

Though I think there's been discussion about the whole complex number
support. Not sure what's going off but I think it's going to overhauled
or replaced, so you'd be better off not using std.complex

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFL5ruJT9LetA9XoXwRAoLSAJ9tLQo3i+CwkfV6a0dQHiQx7WyVlACfTNPp
kJH0pkJFwxy4FlQkn9jFLmo=
=SeTC
-----END PGP SIGNATURE-----


More information about the Digitalmars-d-learn mailing list