1 | LINK : warning LNK4010: invalid subsystem version number 5.01; default subsystem version assumed |
Applications targeting the x86 version of Windows XP must specify subsystem version 5.01, and applications targeting x64 must specify version 5.02.
For x86 console applications:
set LINK=/SUBSYSTEM:CONSOLE,5.01 %LINK%
For x64 console applications:
set LINK=/SUBSYSTEM:CONSOLE,5.02 %LINK%