[Win] Use C++14, not C++17
authorHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Nov 2018 04:38:32 +0000 (04:38 +0000)
committerHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Nov 2018 04:38:32 +0000 (04:38 +0000)
commit220fa0dabc6a4cdd6be61ea3c6e72edb7bdae090
tree50eddd72abb8f0cfc8637392280ec7866fc248ea
parent5e6043d87cd9b9123c4c0da6cb99546a2cc41569
[Win] Use C++14, not C++17
https://bugs.webkit.org/show_bug.cgi?id=191101

Reviewed by Alex Christensen.

.:

Based on the webkit-dev discussion, this change switches Windows
port from C++17 to C++14.
<https://lists.webkit.org/pipermail/webkit-dev/2018-September/030186.html>

* Source/cmake/OptionsMSVC.cmake: Replaced /std:c++17 with /std:c++14 switch.

Source/WTF:

* wtf/StdLibExtras.h: Use _MSVC_LANG to check C++ language version
instead of _MSC_FULL_VER.

Tools:

std::basic_string::data() returns a read-only const buffer in
C++14.

* MiniBrowser/win/WebKitBrowserWindow.cpp:
(createString): Use std::vector instead of std::wstring.
(createUTF8String): Use std::vector instead of std::string.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/WTF/ChangeLog
Source/WTF/wtf/StdLibExtras.h
Source/cmake/OptionsMSVC.cmake
Tools/ChangeLog
Tools/MiniBrowser/win/WebKitBrowserWindow.cpp