[Issue 22645] Linking fails with fatal error LNK1318: Unexpected PDB-error: OK (0) ""

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 4 13:47:44 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22645

--- Comment #5 from simon.vanbernem at yahoo.de ---
(In reply to moonlightsentinel from comment #3)
> (In reply to simon.vanbernem from comment #2)
> > If you think there is value to it I can continue to try to find a minimal
> > example or send you the projects, but I personally hoped that inspecting the
> > way PDB errors are handled might already yield something.
> 
> A minimal example would definitly help. Note that the error messages are
> issued by LINK.exe (provided by VS), not dmd itself.
> 
> Does LINK.exe fail reliably when you rerun the linker manually? 
> (Use `-v` to get the command line issued by dmd)

I have uploaded my project to my onedrive here:
https://1drv.ms/u/s!AsdZfH5hzKtphP4Do8VJERxBR94P8w?e=PM6fXl. Getting to the
error (if it repros for you) should be as easy as unzipping and running the
compile.bat file in the toplevel folder. 

I didn't upload the project directly as an attachment here, because I don't
want my code to just be on the internet indefinitely. The onedrive link will
stay valid for two weeks.

I did not try to reduce the amount of code involved in the project. It is at
40k lines and before starting to invest a lot of time to randomly delete code
all over the place and see when it still fails, I will just switch compilers.

--


More information about the Digitalmars-d-bugs mailing list