Skip Menu |
 

Subject: Fix build errors under Visual Studio 2015

From: ghudson@mit.edu
Subject: git commit

Visual Studio 2015 build fixes

Define HAVE_VSNPRINTF for VS2015 or newer. Avoid putting constants
directly after string literals without whitespace, or the VS2015
compiler thinks it's a string suffix. Prefix the OVERFLOW identifier
in x-deltat.y (along with NUM and LONGNUM for consistency) to avoid a
conflict with math.h. Regenerate deltat.c.

[ghudson@mit.edu: squashed three commits and condensed commit
messages; avoid creating long lines]

https://github.com/krb5/krb5/commit/a14739f2a2acac30a8aba6f8e9f8f5a34bd38d6e
Author: Thomas Sondergaard <thomas.sondergaard@karoshealth.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: a14739f2a2acac30a8aba6f8e9f8f5a34bd38d6e
Branch: master
src/include/win-mac.h | 3 ++
src/lib/krb5/krb/deltat.c | 80 +++++++++++++++++++++---------------------
src/lib/krb5/krb/x-deltat.y | 29 ++++++++-------
src/windows/leash/Leash.cpp | 4 +-
4 files changed, 60 insertions(+), 56 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Pick MFC version based on VisualStudioVersion

Rather than hardcode support for VS2010 and VS2012, assume that the
right MFC version can be obtained by removing the "." in the
VisualStudioVersion variable. This is true for VS2010, VS2012,
VS2013, and VS2015 at least. If VisualStudioVersion it is not set,
fall back to using MFC100(D) as before.

https://github.com/krb5/krb5/commit/705c2a4f21f64e0ee5be10eeffbc8c78c27a518d
Author: Thomas Sondergaard <thomas.sondergaard@karoshealth.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 705c2a4f21f64e0ee5be10eeffbc8c78c27a518d
Branch: master
src/windows/leash/Makefile.in | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Link ucrt.lib and vcruntime.lib for VS2015

The Visual C++ runtime libraries have been rearranged in VS2015:

http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx

[ghudson@mit.edu: wrap a long line in lib/Makefile.in; edit commit
summary]

https://github.com/krb5/krb5/commit/4552159e97007a45370dd49fa6b9fb963bb7d160
Author: Thomas Sondergaard <thomas.sondergaard@karoshealth.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 4552159e97007a45370dd49fa6b9fb963bb7d160
Branch: master
src/lib/Makefile.in | 6 +++++-
src/windows/kfwlogon/Makefile.in | 5 ++++-
2 files changed, 9 insertions(+), 2 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Remove windows/gina

It has only received cosmetic and build fix changes since it was
introduced in 1997 and doesn't do anything useful. The motivation for
removal at this point is to avoid spending time on build fixes for
newer tool chains like VS2015, and because GINA modules are only
supported by Windows versions prior to Windows Vista.

https://support.microsoft.com/en-us/kb/925520

https://github.com/krb5/krb5/commit/f9e79bfdfaa6eb7c2059fb496b296b4316ca6352
Author: Thomas Sondergaard <thomas.sondergaard@karoshealth.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: f9e79bfdfaa6eb7c2059fb496b296b4316ca6352
Branch: master
src/Makefile.in | 5 +-
src/windows/Makefile.in | 2 +-
src/windows/gina/Makefile.in | 36 ----
src/windows/gina/gina.def | 21 ---
src/windows/gina/ginastub.c | 364 ------------------------------------------
src/windows/gina/ginastub.h | 39 -----
6 files changed, 2 insertions(+), 465 deletions(-)