Thread overview
DWT fails to build with DMD 2.068.0
Aug 11, 2015
Mike James
Aug 11, 2015
Jacob Carlborg
Aug 24, 2015
Mike James
Aug 24, 2015
Jacob Carlborg
Aug 25, 2015
Mike James
Aug 25, 2015
Jacob Carlborg
Aug 26, 2015
Mike James
Aug 26, 2015
Jacob Carlborg
August 11, 2015
Hi,

Is there an updated release for DWT - it fails to build with the latest version of DMD - mainly casting errors...

Thanks.

Regards, Mike.
August 11, 2015
On 2015-08-11 10:23, Mike James wrote:

> Is there an updated release for DWT - it fails to build with the latest
> version of DMD - mainly casting errors...

There's an open pull request for adding support for 2.068.0. I'll take a look at it as soon as possible.

-- 
/Jacob Carlborg
August 24, 2015
On Tuesday, 11 August 2015 at 21:03:23 UTC, Jacob Carlborg wrote:
> On 2015-08-11 10:23, Mike James wrote:
>
>> Is there an updated release for DWT - it fails to build with the latest
>> version of DMD - mainly casting errors...
>
> There's an open pull request for adding support for 2.068.0. I'll take a look at it as soon as possible.

Bump! :-)
August 24, 2015
On 2015-08-24 09:10, Mike James wrote:

> Bump! :-)

Ah, sorry, completely forgot about this post. But the good news is that it's already merged :)

-- 
/Jacob Carlborg
August 25, 2015
On Monday, 24 August 2015 at 12:55:50 UTC, Jacob Carlborg wrote:
> On 2015-08-24 09:10, Mike James wrote:
>
>> Bump! :-)
>
> Ah, sorry, completely forgot about this post. But the good news is that it's already merged :)

Hi Jacob,

when I try to build the latest I get this...


C:\D\gui\dwt>rdmd build base swt
(in C:\D\gui\dwt)
Building dwt-base
workdir=>C:\D\gui\dwt\base\src
dmd.exe @C:\D\gui\dwt\rsp
dmd.exe @C:\D\gui\dwt\rsp > C:\D\gui\dwt\olog.txt
Building org.eclipse.swt.win32.win32.x86
workdir=>C:\D\gui\dwt\org.eclipse.swt.win32.win32.x86\src
dmd.exe @C:\D\gui\dwt\rsp
org\eclipse\swt\widgets\Table.d-mixin-125(125): Error: cannot cast expression WC_LISTVIEW of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\Tree.d-mixin-139(139): Error: cannot cast expression WC_TREEVIEW of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\Tree.d-mixin-141(141): Error: cannot cast expression WC_HEADER of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\CoolBar.d-mixin-69(69): Error: cannot cast expression REBARCLASSNAME of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\DateTime.d-mixin-67(67): Error: cannot cast expression DATETIMEPICK_CLASS of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\DateTime.d-mixin-69(69): Error: cannot cast expression MONTHCAL_CLASS of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\Link.d-mixin-80(80): Error: cannot cast expression WC_LINK of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\ProgressBar.d(56): Error: cannot cast expression PROGRESS_CLASS of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\Scale.d-mixin-59(59): Error: cannot cast expression TRACKBAR_CLASS of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\Spinner.d-mixin-70(70): Error: cannot cast expression UPDOWN_CLASS of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\TabFolder.d-mixin-72(72): Error: cannot cast expression WC_TABCONTROL of type const(wchar*) to const(wchar[])
org\eclipse\swt\widgets\ToolBar.d-mixin-71(71): Error: cannot cast expression TOOLBARCLASSNAME of type const(wchar*) to const(wchar[])
object.Exception@build.d(256): compile error
----------------
0x00404C46
0x004060B7
0x00403DD2
0x004182DA
0x004182AF
0x004181C3
0x00410AAB
0x771D3744 in BaseThreadInitThunk
0x77C9A064 in RtlSetCurrentTransaction
0x77C9A02F in RtlSetCurrentTransaction


Regards, Mike.
August 25, 2015
On 2015-08-25 18:23, Mike James wrote:

> Hi Jacob,
>
> when I try to build the latest I get this...

Sorry, I forgot to update the submodules, please try now.

-- 
/Jacob Carlborg
August 26, 2015
On Tuesday, 25 August 2015 at 19:02:14 UTC, Jacob Carlborg wrote:
> On 2015-08-25 18:23, Mike James wrote:
>
>> Hi Jacob,
>>
>> when I try to build the latest I get this...
>
> Sorry, I forgot to update the submodules, please try now.

Thanks Jacob,

I can confirm the libraries and snippets build no problem.

Regards, Mike.
August 26, 2015
On 2015-08-26 10:59, Mike James wrote:

> Thanks Jacob,
>
> I can confirm the libraries and snippets build no problem.

Awesome :)

-- 
/Jacob Carlborg