develooper Front page | perl.perl5.changes | Postings from October 2021

[Perl/perl5] eb058c: Remove old MSVC++ (pre-VC12) support fromWindows ...

From:
Steve Hay via perl5-changes
Date:
October 19, 2021 07:32
Subject:
[Perl/perl5] eb058c: Remove old MSVC++ (pre-VC12) support fromWindows ...
Message ID:
Perl/perl5/push/refs/heads/blead/8461dd-eb058c@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: eb058c0793b0f6c96b6b92cfb047804c8c625c5a
      https://github.com/Perl/perl5/commit/eb058c0793b0f6c96b6b92cfb047804c8c625c5a
  Author: Steve Hay <steve.m.hay@googlemail.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M README.win32
    M win32/GNUmakefile
    M win32/Makefile

  Log Message:
  -----------
  Remove old MSVC++ (pre-VC12) support from Windows Makefiles

Also remove the Platform SDK 2003 SP1/R2 64-bit compiler since (having just
tried it) it no longer builds perl because it doesn't allow mixed code and
declarations.

Also remove mention of the Windows SDK since it doesn't appear to contain
the compiler or linker any more. This page says that the VC++ 2010 compiler
and linker were included in the Windows 7 SDK but then makes no mention of
it for the Windows 8 SDK:
https://docs.microsoft.com/en-us/previous-versions/visualstudio/windows-sdk/ff660763(v=vs.110)
The page notes that it is no longer being updated, but the whole of the
C:\Program Files (x86)\Windows Kits folder on my system (which contains
8.0, 8.10 and 10) does not contain any cl.exe or link.exe.

I've re-worded some of the if/else conditions in the makefiles to pick out
earlier versions rather than later versions. Thus, the current versions
become the "else" case, which means that the next version of Visual C++ is
more likely to work without requiring any changes.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About