On Thu, 19 Apr 2018 05:54:49 -0700, shay wrote: > Thanks for the patch. However, there are still problems with recent > versions of VC, which mean that the wrong CCTYPE is set for VC2015 and > VC2017: > > - Probably for superstitious reasons (?!) Microsoft skipped version > 13, so the next version after VC12 (in VS2013) is VC14 (in VS2015) > rather than VC13. However, the version number output by cl.exe did NOT > similarly skip a number, so from VC14 onwards we need to subtract 5 > rather than 6 from the cl.exe version. > > - VS2017 contains VC14.1 rather than VC15. The CCTYPE in our makefiles > is MSVC141. > > VS2010 contains VC10, cl.exe version 16. CCTYPE=MSVC100 > VS2012 contains VC11, cl.exe version 17. CCTYPE=MSVC110 > VS2013 contains VC12, cl.exe version 18. CCTYPE=MSVC120 > VS2015 contains VC14, cl.exe version 19.00. CCTYPE=MSVC140 > VS2017 contains VC14.1, cl.exe version 19.11. CCTYPE=MSVC141 I've revised the patch description because of comments in https://rt.perl.org/Ticket/Display.html?id=133126 and I added code to deal with VC 2015 and VC 2017 but I can't test it on a real VC 2015/2017. Test it please. -- bulk88 ~ bulk88 at hotmail.com --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=133117Thread Previous