undefined symbol: _D3std7variant...

Johan j at j.nl
Wed Oct 23 23:19:06 UTC 2019


On Wednesday, 23 October 2019 at 20:45:55 UTC, baz wrote:
> On Tuesday, 22 October 2019 at 13:07:54 UTC, Andrey wrote:
>> On Tuesday, 22 October 2019 at 12:57:45 UTC, Daniel Kozak 
>> wrote:
>>> Have you try to clean all caches? Try to remove .dub folder
>>
>> I removed .dub folder but this error appears again.
>
> Try the "-allinst" option. It's possibly a bug with speculative 
> template instantiation.
> "-allinst" deactivates speculation and everything is always 
> instantiated and therefore present in the object files.

If `-allinst` works, then please minimize the testcase and put it 
in our bugtracker. We know there are template culling problems 
but it only appears in very complex code. I have not been able to 
reduce it to less than a < 20k line problem across a ton of 
files...

-Johan



More information about the Digitalmars-d-learn mailing list