-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot catch multiple definitions of shared constructor #615
Comments
thats a linker error and mono-d does not parse those (yet) On Fri, May 29, 2015 at 3:26 PM, tcak notifications@github.com wrote:
|
Oh, thanks for the hint - yeah, ld errors aren't handled yet. |
ld, optlink, u name it. sure you want to implement all their formats ? ;) On Fri, May 29, 2015 at 3:39 PM, Alexander Bothe notifications@github.com
|
Everything that fits into a regex :P |
In the module "com.abcdef.caterpil.target.templatefileresource", in class "PlaceHolderTemplate", by mistake, I have defined same shared constructor twice.
public this() shared{}
When I tried to compile it, error message was as follows and it wasn't handled. Is it possible to parse this error message for better error information?
dmd "@/tmp/tmp430df3b7.tmp"
obj/Release/SampleTarget3.o: In function
_D3com6abcdef9caterpil36target20templatefileresource19PlaceHolderTemplate6__ctorMOFZOC3com6abcdef9caterpil36target20templatefileresource19PlaceHolderTemplate': /home/muser/dev/d/libraries/com/abcdef/stringutils/split.d:(.text._D3com6abcdef9caterpil36target20templatefileresource19PlaceHolderTemplate6__ctorMOFZOC3com6abcdef9caterpil36target20templatefileresource19PlaceHolderTemplate+0x20): multiple definition of
_D3com6abcdef9caterpil36target20templatefileresource19PlaceHolderTemplate6__ctorMOFZOC3com6abcdef9caterpil36target20templatefileresource19PlaceHolderTemplate'obj/Release/SampleTarget3.o:/home/muser/dev/d/libraries/com/abcdef/stringutils/split.d:(.text._D3com6abcdef9caterpil36target20templatefileresource19PlaceHolderTemplate6__ctorMOFZOC3com6abcdef9caterpil36target20templatefileresource19PlaceHolderTemplate+0x0): first defined here
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: