You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered some issues today because of the static linking defaults of MSVC which removes unreferenced symbols, and found a solution that doesn't involve build system tricks !
You can actually fix this by using the /OPT:NOREF linker flag.
Obvisouly it is not always what you want as it might make bigger .lib files, but I think it is fine if you only add it for Tests enabled builds.
The text was updated successfully, but these errors were encountered:
I encountered some issues today because of the static linking defaults of MSVC which removes unreferenced symbols, and found a solution that doesn't involve build system tricks !
You can actually fix this by using the /OPT:NOREF linker flag.
Obvisouly it is not always what you want as it might make bigger .lib files, but I think it is fine if you only add it for Tests enabled builds.
The text was updated successfully, but these errors were encountered: