From 89f95a20e7a5b4a32a56646f041965d7a510f0f0 Mon Sep 17 00:00:00 2001 From: Billy Robert O'Neal III Date: Thu, 6 Feb 2020 18:19:53 -0800 Subject: [PATCH 1/2] Include missing headers breaking VS2019 version 16.6 nightly builds Include the right headers in kdf_sha_crypt.cc: * for size_t * for std::strtol * for std::tie (this is the one that broke the build) * for std::distance Include the right headers in kdf_pbkdf2.cc: * for uint8_t * for std::strotl * for std::tie (this is the one that broke the build) * for std::distance F:\gitP\mysql\mysql-server\router\src\http\src\kdf_sha_crypt.cc(71): error C2039: 'tie': is not a member of 'std' [F:\gitP\mysql\mysql-server\build_amd64\router\src\http\src\http_auth_backend_lib.vcxproj] F:\gitP\mysql\mysql-server\router\src\http\src\kdf_sha_crypt.cc(71): error C3861: 'tie': identifier not found [F:\gitP\mysql\mysql-server\build_amd64\router\src\http\src\http_auth_backend_lib.vcxproj] F:\gitP\mysql\mysql-server\router\src\http\src\kdf_pbkdf2.cc(79): error C2039: 'tie': is not a member of 'std' [F:\gitP\mysql\mysql-server\build_amd64\router\src\http\src\http_auth_backend_lib.vcxproj] F:\gitP\mysql\mysql-server\router\src\http\src\kdf_pbkdf2.cc(79): error C3861: 'tie': identifier not found [F:\gitP\mysql\mysql-server\build_amd64\router\src\http\src\http_auth_backend_lib.vcxproj] --- router/src/http/src/kdf_pbkdf2.cc | 5 +++++ router/src/http/src/kdf_sha_crypt.cc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/router/src/http/src/kdf_pbkdf2.cc b/router/src/http/src/kdf_pbkdf2.cc index 5e29c060915..dcf3a0ebf21 100644 --- a/router/src/http/src/kdf_pbkdf2.cc +++ b/router/src/http/src/kdf_pbkdf2.cc @@ -24,11 +24,16 @@ #include "kdf_pbkdf2.h" +#include + #include +#include #include +#include #include #include #include +#include #include #include diff --git a/router/src/http/src/kdf_sha_crypt.cc b/router/src/http/src/kdf_sha_crypt.cc index 8b18606dd87..771ed3b6843 100644 --- a/router/src/http/src/kdf_sha_crypt.cc +++ b/router/src/http/src/kdf_sha_crypt.cc @@ -24,10 +24,15 @@ #include "kdf_sha_crypt.h" +#include + #include +#include #include +#include #include #include +#include #include #include From c62fcb0ead5213ecbe7601c8a68bb5dba9e4f2ca Mon Sep 17 00:00:00 2001 From: Billy Robert O'Neal III Date: Wed, 19 Feb 2020 11:47:03 -0800 Subject: [PATCH 2/2] In http_auth_method_basic.cc, add: * for std::back_inserter. * for std::make_error_code and std::errc. --- router/src/http/src/http_auth_method_basic.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/router/src/http/src/http_auth_method_basic.cc b/router/src/http/src/http_auth_method_basic.cc index a154bf6f471..9e53c916d9b 100644 --- a/router/src/http/src/http_auth_method_basic.cc +++ b/router/src/http/src/http_auth_method_basic.cc @@ -25,6 +25,8 @@ #include "http_auth_method_basic.h" #include // std::find +#include +#include #include #include