crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
892 stars 80 forks source link

Fix Clang compilation #5

Closed CookiePLMonster closed 7 years ago

CookiePLMonster commented 7 years ago

Compiling with v140 toolsets in /MT mode (I don't want to rely on VS2015 redist packages) gives me a RIDICULOUS amount of hits on virustotal:

https://www.virustotal.com/file/ecd4935c5a3b653062a648674c6856cbd47edd33e6f5c7e64a4277054ec261c9/analysis/1480277016/

The issue seems to be real since within 24h from the moment the update with this DLL went live I saw numerous people reporting their AVs block the game...

Oddly enough, if I remove file logging OR switch to Clang, all those hits are gone. MS's Clang requires some slight changes to the code though, so there it is. v140 still compiles fine, of couse.