Thread overview
Linker `undefined reference` errors when using scoped imports
Aug 21, 2014
Uranuz
Aug 21, 2014
Dicebot
Aug 21, 2014
deadalnix
August 21, 2014
For now I can't an example of code. But sometimes I get Linker errors on Ubuntu Linux when using *scoped imports*. May be this issue happens on another platforms too. Does anybody experience the same problem when compiling programmes?

I'll try to invent some example of code that illustrates this. Of course project where I got this is to long to post there in forum. I saw that in new release 2.066 there was some improvements about names mangling. But seems that these changes are not connected with this problem.

May be it's just linker problem and compiler have nothing to do with it? So it's interesting to see any comments.
August 21, 2014
On Thursday, 21 August 2014 at 17:09:33 UTC, Uranuz wrote:
> For now I can't an example of code. But sometimes I get Linker errors on Ubuntu Linux when using *scoped imports*. May be this issue happens on another platforms too. Does anybody experience the same problem when compiling programmes?
>
> I'll try to invent some example of code that illustrates this. Of course project where I got this is to long to post there in forum. I saw that in new release 2.066 there was some improvements about names mangling. But seems that these changes are not connected with this problem.
>
> May be it's just linker problem and compiler have nothing to do with it? So it's interesting to see any comments.

Can it be that you are using incremental rebuilds?
August 21, 2014
On Thursday, 21 August 2014 at 18:27:30 UTC, Dicebot wrote:
> On Thursday, 21 August 2014 at 17:09:33 UTC, Uranuz wrote:
>> For now I can't an example of code. But sometimes I get Linker errors on Ubuntu Linux when using *scoped imports*. May be this issue happens on another platforms too. Does anybody experience the same problem when compiling programmes?
>>
>> I'll try to invent some example of code that illustrates this. Of course project where I got this is to long to post there in forum. I saw that in new release 2.066 there was some improvements about names mangling. But seems that these changes are not connected with this problem.
>>
>> May be it's just linker problem and compiler have nothing to do with it? So it's interesting to see any comments.
>
> Can it be that you are using incremental rebuilds?

No there is an issue. I'm launching a dustmite, but considering it is a linking problem, it is gonna take ages.