Template instantiation fails on Linux, succeeds on Windows

Basile B. b2.temp at gmx.com
Thu May 17 23:18:32 UTC 2018


On Thursday, 17 May 2018 at 22:07:46 UTC, Bastiaan Veelo wrote:
> Hi!
>
> The code in [1] compiles and runs flawlessly on Windows, but 
> not on Linux (neither run.dlang nor Travis docker image). Any 
> idea what can be done?

Hello. Yes, add `import core.stdc.stdarg;` in your module and it 
works.
I don't know why it's not required on windows, this is strange.





More information about the Digitalmars-d-learn mailing list