Build fix to start using C++14.
authordewei_zhu@apple.com <dewei_zhu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Apr 2017 16:16:43 +0000 (16:16 +0000)
committerdewei_zhu@apple.com <dewei_zhu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Apr 2017 16:16:43 +0000 (16:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=171038

Reviewed by Alex Christensen.

Use 'c++14' instead of 'c++11' in order to use 'auto' in lambda.

* Configurations/WebKitLegacy.xcconfig:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215560 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/Configurations/WebKitLegacy.xcconfig

index 13a7eb8..1369774 100644 (file)
@@ -1,3 +1,14 @@
+2017-04-20  Dewei Zhu  <dewei_zhu@apple.com>
+
+        Build fix to start using C++14.
+        https://bugs.webkit.org/show_bug.cgi?id=171038
+
+        Reviewed by Alex Christensen.
+
+        Use 'c++14' instead of 'c++11' in order to use 'auto' in lambda.
+
+        * Configurations/WebKitLegacy.xcconfig:
+
 2017-04-19  Youenn Fablet  <youenn@apple.com>
 
         [Mac] Allow customizing H264 encoder
index 2fce4ae..1501859 100644 (file)
@@ -124,5 +124,5 @@ WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR_YES = "$(WK_OVERRIDE_FRAMEWORKS_DIR)";
 SUPPORTS_TEXT_BASED_API[sdk=iphone*] = $(USE_INTERNAL_SDK);
 SUPPORTS_TEXT_BASED_API[sdk=appletv*] = NO;
 SUPPORTS_TEXT_BASED_API[sdk=watch*] = NO;
-OTHER_TAPI_FLAGS[sdk=iphone*] = -x objective-c++ -std=c++11 -fno-rtti;
+OTHER_TAPI_FLAGS[sdk=iphone*] = -x objective-c++ -std=c++14 -fno-rtti;
 TAPI_VERIFY_MODE[sdk=iphone*] = Pedantic;