Windows driver development - Compilation...
If you are getting the error
fatal error C1007: unrecognized flag '-typedil' in 'p2'
LINK : fatal error LNK1257: code generation failed
or
fatal error C1007: unrecognized flag '-typedil' in 'p2'
LINK : fatal error LNK1257: code generation failed
The issue I have found is that you are using the cl.exe version 14 and link.exe version 8 from the WinDDK folder.
Prepened the VC 9.0\bin to the PATH variable to point to the cl.exe v 15.00 & link.exe v.9.0. The VC 9.0\bin has the x86 compiler, and the VC 9.0\bin\x86_x64 for the compiler for the x86 machine for the adm64 target.
Hope this helps.
Update for Virtusa...
Looks like Virtusa forgot the circumstances in which I quit, because they gave me my relieving letter. :) They still kept one month salary of mine, but good riddance.