www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to fix "Error symbol '.....' is already defined"

reply Vincent R <lol dlang.org> writes:
Hi,

I have a small project and I would like to use D to build it.
I am working on Windows and I have already generated a gdc 
compiler through msys2/mingw64 and now I would like to compile 
the old.unmaintained wxWidgets wrapper called wxd.
I have forked the project here: https://github.com/vrichomme/wxd 
and tried to fix the easiest errors but now there is still an 
error about symbol already defined:

http://dpaste.dzfl.pl/c925e7f888e8

By looking at 
https://github.com/vrichomme/wxd/blob/master/src/wx/TreeCtrl.d do 
you know why I get this error ?
When using dmd I still have the warning but the linker ignores 
it, however since my project is for a raspberrypi I prefer to use 
the same toolchain on destop(gdc).

Thanks
Nov 11 2015
parent reply Kagamin <spam here.lot> writes:
Looks like a bug in the compiler.
Nov 12 2015
parent Vincent R <lol dlang.org> writes:
On Thursday, 12 November 2015 at 08:45:57 UTC, Kagamin wrote:
 Looks like a bug in the compiler.
In this case it means there is a bug inside dmd and gdc (didn't try ldc)...
Nov 12 2015