I wish to use -MD compiler switch, so I define
SET USE_MSVCRT=1
The result error message is:
WARNING: __MSC__ is not defined
Compiling with -MD required __MSC__ defined
__MSC__ must be set as follows:
__MSC__=6 -> MSVC 6 Visual Studio 2000 (_MSC_VER=1200)
__MSC__=7 -> MSVC 7 Visual Studio 2003 (_MSC_VER=1300)
__MSC__=71 -> MSVC 71 MS Driver Tool Kit (_MSC_VER=1310)
__MSC__=8 -> MSVC 8 Visual Studio 2005 (_MSC_VER=1400)
__MSC__=9 -> MSVC 9 Visual Studio 2008 (_MSC_VER=1500)
__MSC__=10 -> MSVC 10 Visual Studio 2010 (_MSC_VER=1600)
__MSC__=11 -> MSVC 11 Visual Studio 2012 (_MSC_VER=1700)
__MSC__=12 -> MSVC 12 Visual Studio 2013 (_MSC_VER=1800)
__MSC__=14 -> MSVC 14 Visual Studio 2015 (_MSC_VER=1900)
__MSC__=15 -> MSVC 15 Visual Studio 2017 (_MSC_VER=1911-1920)
__MSC__=16 -> MSVC 16 Visual Studio 2019 (_MSC_VER=1921-1929)
__MSC__=17 -> MSVC 17 Visual Studio 2022 (_MSC_VER=1930-1935)
My version is 1932 so I add
SET __MSC__=71
And the result is tons of
cl : Command line warning D9002 : ignoring unknown option '-Op'
cl : Command line warning D9002 : ignoring unknown option '-G7'
Something to be fixed or my fault?
SET __MSC__=71
The __MSC__ message has been troubling me for some time now, and I
recently added SET __MSC__ to auto dettection in find_vc.bat but the
message persisted and had higher priorities to addresss. Maybe it
expects a -D__MSC__=17
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 47:41:34 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,858,370 |