Template instantiation fails on Linux, succeeds on Windows
Bastiaan Veelo
Bastiaan at Veelo.net
Thu May 17 23:33:28 UTC 2018
On Thursday, 17 May 2018 at 23:18:32 UTC, Basile B. wrote:
> 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.
Great! Thanks a lot, Basile!
Seems there is room for improvement somewhere, a better error
message at the least.
More information about the Digitalmars-d-learn
mailing list