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<d...@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@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 ';'.