ldc-developers/ldc — Issue #42: Multilib:  --no-warn-search-mismatch
Author: dsimcha
Created: 2011-12-08 22:56:11+00:00
State: open

I appreciate the effort on the new multilib feature. It works great except for one small detail:

$ ldc2 -m32 hello.d -L--no-warn-search-mismatch
/usr/bin/ld: skipping incompatible /cis/home/dsimcha/apps/lib/libphobos2-ldc.a when searching for -lphobos2-ldc

Apparently the --no-warn-search-mismatch never gets forwarded to the linker, leading to some really annoying warnings.