On Thursday, 28 February 2013 at 07:28:24 UTC, Jacob Carlborg wrote:
On 2013-02-28 05:43, Marco Leise wrote:
Has anyone used it successfully there? I'd like to try it
since it has no dependencies.

I doesn't compile. There are two problems (at least) here:

* Using "int" when "size_t" should have been used and similar type issues

* Using the native API

I have no idea if the same native API can be used both for 32 and 64bit.

Any help would be appreciated if you want to port it to 64bit.

BTW, it's perfectly possible to use 32bit executables on 64bit.

I want to build dwt on linux x86_64 and I want you input before I cast my way to hell. Is it ok if, for example, I use double cast as in :

java\nonstandard\UtfBase.d(193): Error: cannot cast from ulong to UTF8index

UTF8index endIndex(in char[] s) {
    return cast(UTF8index) cast(int)s.length;
}

Reply via email to