Did you already try rt_init? That should trigger it
Simply linking my D shared library with foreign code (Python with the
help of ctypes in this case) does not work. What function should I call?
What about 'shared static ~this()'? And would the answer be different
for 'static this()' etc.?
Thank you,
Ali
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
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
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 :(
On Thursday, 16 January 2020 at 13:36:10 UTC, Namal wrote:
Hello, what is the way to remove whitespace from a string (not
only at the beginning and end)..
import std;
void main(){
string name = " Marvin Will ";
writeln(name.replace(" ", "")); // MarvinWill
}
On Friday, 17 January 2020 at 16:43:17 UTC, Jan Hönig wrote:
I have created a docker image.
However the image size is not small (~500MB).
I wonder if others have a suitable dockerfile.
All i want is to install the current dmd release.
Does somebody have something similar?
Does somebody need
I have created a docker image.
However the image size is not small (~500MB).
I wonder if others have a suitable dockerfile.
All i want is to install the current dmd release.
Does somebody have something similar?
Does somebody need something similar?
My dockerfile:
```
FROM ubuntu:latest
On Friday, 17 January 2020 at 07:57:16 UTC, mark wrote:
On Thursday, 16 January 2020 at 17:11:11 UTC, Adam D. Ruppe
wrote:
[...]
The string thing probably shouldn't be used anymore. I suggest
you always use the => form instead.
The string thing is a legacy version that was before the
On Thursday, 16 January 2020 at 17:11:11 UTC, Adam D. Ruppe wrote:
[...]
The string thing probably shouldn't be used anymore. I suggest
you always use the => form instead.
The string thing is a legacy version that was before the
language had =>.
[...]
Thanks for that very clear explanation.
12 matches
Mail list logo