building DWT2

Timon Gehr timon.gehr at gmx.ch
Thu Dec 1 08:41:44 PST 2011


On 12/01/2011 04:45 PM, Jacob Carlborg wrote:
> On 2011-12-01 15:09, Gour wrote:
>> On Thu, 01 Dec 2011 13:29:41 +0100
>> Jacob Carlborg<doob at me.com> wrote:
>>
>>> You need to build the "base" library as well, run "rake base swt".
>>> The "base" library contains a port of a small part of the Java core
>>> API's, this makes it easier to port SWT.
>>
>> [gour at atmarama dwt2-c43718956f21] rake base swt
>> /home/gour/tmp/dwt/dwt2-c43718956f21/rakefile:19: Use RbConfig instead
>> of obsolete and deprecated Config.
>> Building dwt-base
>> workdir=>/home/gour/tmp/dwt/dwt2-c43718956f21/base/src
>> java/nonstandard/RuntimeTraits.d(86): do-while statement requires
>> terminating ;
>> rake aborted!
>> compile error
>
> Ok, apparently later versions of the compiler have become better and
> catches this miss.
>

Blame me. :o)

https://github.com/D-Programming-Language/dmd/pull/372

It actually still will compile with the -d flag enabled. Or you could 
add the ';'.


More information about the Digitalmars-d mailing list