www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics




digitalmars.D.dwt - FileDialog.d

↑ ↓ ← Ty Tower <tytower hotmail.com.au> writes:
 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?
Feb 23 2008
→ Bill Baxter <dnewsgroup billbaxter.com> writes:
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
Feb 23 2008
Ty Tower <tytower hotmail.com.au> writes:
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?
Feb 24 2008
↑ ↓ → Ty Tower <tytower hotmail.com.au> writes:
That was in dwt.custom.StyleRange
Feb 24 2008