Thread overview
Re: FileDialog.d
Feb 24, 2008
Bill Baxter
Feb 24, 2008
Ty Tower
Feb 24, 2008
Ty Tower
February 24, 2008
Ty Tower wrote:
>  Line 348 if (filterPath.length > 0) {
>         tango.text.Text.Text!(char) stringBuffer = new
> tango.text.Text.Text!(char)();
> 
> Line 432   tango.text.Text.Text!(char) stringBuffer = new
> tango.text.Text.Text!(char)();
> 
> Compilimg the examples I seem to be hitting the above and getting
> multiple error compiler messages.  as so
> 
> /usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libDD-dwt.a(dwt.widgets.Link.o)
> (.rodata+0x890): multiple definition of
> `_D5tango4text4Text11__T4TextTaZ4Text4Span6__initZ'
> /usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libDD-dwt.a(dwt.widgets.FileDialog.o)
> (.rodata+0x100): first defined here
> 
> Is there a bug here?

Clashes over multiple defs of initZ sound like this bug:
http://d.puremagic.com/issues/show_bug.cgi?id=1629

--bb
February 24, 2008
Ty Tower Wrote:
From File Dialog.d
>  Line 348 if (filterPath.length > 0) { tango.text.Text.Text!(char) stringBuffer = new
> tango.text.Text.Text!(char)();>
> Line 432  tango.text.Text.Text!(char) stringBuffer = new tango.text.Text.Text!(char)();
> 
> Compilimg the examples I seem to be hitting the above and getting multiple error compiler messages. as so
> 
> /usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libDD-dwt.a(dwt.widgets.Link.o)
> (.rodata+0x890): multiple definition of
> `_D5tango4text4Text11__T4TextTaZ4Text4Span6__initZ'
> /usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libDD-dwt.a(dwt.widgets.FileDialog.o)
> (.rodata+0x100): first defined here
> 
> Is there a bug here?

Messing around with a single build for Custom ControlExample and with the "one at a time" switch off in dmd-posix-tango I found another

alias tango.text.Text.Text!(char) StringBuffer;   (this with capitalS this time still seems to pull up the compiler

Help !  Whats happening here?
February 24, 2008
That was in dwt.custom.StyleRange