On Fri, Jan 17, 2020 at 04:12:18PM -0800, Ali Çehreli via Digitalmars-d-learn
wrote:
> On 1/17/20 3:04 PM, Petar Kirov [ZombineDev] wrote:> On Friday, 17 January
> 2020 at 21:40:05 UTC, JN wrote:
>
> > I think the problem comes from the way you compile and link your
> > code. I you compile both m
On 1/17/20 3:04 PM, Petar Kirov [ZombineDev] wrote:> On Friday, 17
January 2020 at 21:40:05 UTC, JN wrote:
> I think the problem comes from the way you compile and link your code. I
> you compile both modules together like this it should work out:
>
> dmd -ofresult main.d stuff.d
If that's the
On Friday, 17 January 2020 at 23:04:57 UTC, Petar Kirov
[ZombineDev] wrote:
[..]
*If* you compile both modules ..
[..]
On Friday, 17 January 2020 at 21:40:05 UTC, JN wrote:
stuff.d:
alias doStuff = () {};
main.d:
import stuff;
void main()
{
doStuff();
}
DMD throws compile error:
Error 42: Symbol Undefined __D5stuff9__lambda3FNaNbNiNfZv
Is this expected behavior? It tripped me while trying to use
Derel
stuff.d:
alias doStuff = () {};
main.d:
import stuff;
void main()
{
doStuff();
}
DMD throws compile error:
Error 42: Symbol Undefined __D5stuff9__lambda3FNaNbNiNfZv
Is this expected behavior? It tripped me while trying to use
DerelictVulkan :(