Suppress 4768 warning from shlobj.h
MODIFY
include/pch.h
include/pch.h
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
-
+#pragma warning(suppress : 4768)
#include <windows.h>
#include <algorithm>
#include <regex>
#include <set>
#include <shellapi.h>
-#include <shlobj.h>
+#pragma warning(push)
+#pragma warning(disable : 4768)
+#include <Shlobj.h>
+#pragma warning(pop)
#include <stdexcept>
#include <string>
#include <sys/timeb.h>

MODIFY
src/vcpkg.cpp
src/vcpkg.cpp
#include "vcpkg_Strings.h"
#include "vcpkg_System.h"
#include "vcpkglib.h"
+#pragma warning(push)
+#pragma warning(disable : 4768)
#include <Shlobj.h>
+#pragma warning(pop)
#include <cassert>
#include <fstream>
#include <memory>

Suppress 4768 warning from shlobj.h