Linker error since upgrade to DMD 2.077.1: fatal error C1905: Front end and back end not compatible

ParticlePeter ParticlePeter at gmx.de
Sun Dec 17 15:57:08 UTC 2017


I upgraded from DMD 2.074.1 (!) to 2.077.1 and tried to compile a 
mixed c++/d project (DMD links to one c++ lib). Here is the full 
error message:

fatal error C1905: Front end and back end not compatible (must 
target same processor).
LINK : fatal error LNK1257: code generation failed
Error: linker exited with status 1257
dmd failed with exit code 1257.

No such problems with my previous DMD version.

What has changed with linking since then? (Skimmed through 
changelogs but found nothing).

I found a workaround with specifying LINKCMD64 to my VS 2017 
linker, but this is not a viable solution. The project must build 
with DMD on any system with VS installed without me knowing its 
exact location.

What can I do to make it run out of the box and without the link 
command specified?




More information about the Digitalmars-d-learn mailing list