How can I report what I think a compiler's frontend bug

Vincent R via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 21 06:55:30 PDT 2016


On Monday, 21 March 2016 at 11:00:08 UTC, Vincent R wrote:
> On Monday, 21 March 2016 at 09:46:18 UTC, Vincent R wrote:
>> On Monday, 21 March 2016 at 01:51:09 UTC, Marco Leise wrote:
>>> Am Sun, 20 Mar 2016 22:37:37 +0000
>>> schrieb Vincent R <lol at dlang.org>:
>>>
>>> [...]
>>
>> Thanks and you see I was right to post here since I finally 
>> found the problem and got an answer :-)
>
> Unfortunately at the end I get a linker error:
>
> 10000000 at MLVD0032 MINGW64 ~/tmp/wxd/src/Samples
> $ make
> del *.cached
> cd Controls
> make
> dmd -c -version=wx28 -version=__WXMSW__ -version=ANSI -I..\.. 
> Controls.d
> ..\..\wx\common.d(153): Deprecation: function 
> wx.common.new_Rectangle is deprecated
> ..\..\wx\common.d(153): Deprecation: function 
> wx.common.new_Rectangle is deprecated
>
> dmd -g -of..\..\bin\Controls.exe Controls.obj ..\..\wxd.lib 
> ..\..\wxc.lib 
> C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxbase28d.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxbase28d_xml.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxmsw28d_core.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxmsw28d_adv.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxmsw28d_html.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxmsw28d_xrc.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxtiffd.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxjpegd.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxpngd.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxzlibd.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxregexd.lib  C:/DEV/msys64/home/10000000/tmp/wxWidgets-2.8.12\lib\dmc_lib\wxexpatd.lib   kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib    -L/EXETYPE:NT -L/SU:WINDOWS:4.0
> OPTLINK (R) for Win32  Release 8.00.17
> Copyright (C) Digital Mars 1989-2013  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> C:\DEV\msys64\home\10000000\tmp\wxWidgets-2.8.12\lib\dmc_lib\wxexpatd.lib(xmlrole)
>  Error 168: >64K Global Types

I tried with a gdc compiler compiled by myself and I was able to 
compile and launch my first sample application using 
wxWidgets-2.8.
Now I have some work to do to fix all the remaining warnings and 
errors but I hope that wxD will be very soon an alternative to 
existing gui framework for D.
In a perfect world I should also work on the D libraries to add 
support for mingwXX winpthreads because for the moment the gdc 
compiler is generated using --enable-threads=win32. As long as it 
cannot use posix thread it cannot be an official package of 
msys2/mingw64.



More information about the Digitalmars-d mailing list