Linking with MSVC built static library

Mihails a at a.a
Wed Mar 20 10:22:04 UTC 2019


On Tuesday, 19 March 2019 at 20:23:18 UTC, kinke wrote:
> On Tuesday, 19 March 2019 at 16:52:35 UTC, Mihails wrote:
>> Could there be some code corruption caused by wrong linker 
>> flags?
>
> I tested it with v1.15.0-beta1 before; I've just rechecked with 
> v1.14.0 - tests run fine in both a VS command prompt and a 
> naked cmd.exe. FWIW, I'm using VS 2017 v15.9.7 with the 
> aforementioned modifications for both C projects.

Interesting - it started to work after I changed the build script 
to run through vcvarsall.bat but was failing in "default" 
environment despite linking successfully. Probably won't bother 
trying to figure it out but Windows build process is.. weird.


More information about the digitalmars-d-ldc mailing list