• A problem with MSC32 2022

    From Enrico Maria Giordano@21:1/5 to All on Thu Dec 28 10:23:09 2023
    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?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Dec 28 11:09:44 2023
    Enrico Maria Giordano wrote:

    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?


    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 - I need to research more.

    The -Op and -G7 are for older versions and should be removed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Dec 28 17:17:58 2023
    Il 28/12/2023 17:09, Ron Pinkas ha scritto:

    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

    Ops, my fault! Ok, seems to working fine with 17. :-)

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)