windows64/linux64 Error: cannot implicitly convert expression of type ulong to int
Anastasios Tsiolakidis
abstractius at yahoo.co.uk
Mon Feb 18 19:13:14 PST 2013
Hello,
this is perhaps something for d.learning, except that I don't see how! I found a small D program on Facebook http://pastebin.ca/2315433 , and compiling it with all 3 implementations on my Ubuntu 12.10 gives this "common" eror, in 2 implementations with more verbose output
h3.d(72): Error: cannot implicitly convert expression (g0.length) of type ulong to int
On Windows 7-64 however it compiles just fine with dmd2. From a discussion on this list I concluded this error is "fundamental" and don't expect it to be configurable with a compiler switch or whatever. Nor do I expect the dmd package to ship with fundamentally different config files on windows and linux. What's going on?
Thanks
AT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130219/23cc915b/attachment-0001.html>
More information about the Digitalmars-d
mailing list