Title: [155135] trunk/Source
Revision
155135
Author
[email protected]
Date
2013-09-05 11:23:02 -0700 (Thu, 05 Sep 2013)

Log Message

Enable C++11 wherever we build C++ files that include wtf/Platform.h
https://bugs.webkit.org/show_bug.cgi?id=120782

Reviewed by Andreas Kling.

Source/ThirdParty:

Set CLANG_CXX_LANGUAGE_STANDARD to gnu++0x.

* gtest/xcode/Config/General.xcconfig:

Source/WebCore:

Pass -std=gnu++11 when preprocessing wtf/Platform.h.

* DerivedSources.make:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ChangeLog (155134 => 155135)


--- trunk/Source/ThirdParty/ChangeLog	2013-09-05 18:01:00 UTC (rev 155134)
+++ trunk/Source/ThirdParty/ChangeLog	2013-09-05 18:23:02 UTC (rev 155135)
@@ -1,3 +1,14 @@
+2013-09-05  Anders Carlsson  <[email protected]>
+
+        Enable C++11 wherever we build C++ files that include wtf/Platform.h
+        https://bugs.webkit.org/show_bug.cgi?id=120782
+
+        Reviewed by Andreas Kling.
+
+        Set CLANG_CXX_LANGUAGE_STANDARD to gnu++0x.
+
+        * gtest/xcode/Config/General.xcconfig:
+
 2013-08-20  Alex Christensen  <[email protected]>
 
         Use PlatformArchitecture to distinguish between 32-bit and 64-bit builds on Windows.

Modified: trunk/Source/ThirdParty/gtest/xcode/Config/General.xcconfig (155134 => 155135)


--- trunk/Source/ThirdParty/gtest/xcode/Config/General.xcconfig	2013-09-05 18:01:00 UTC (rev 155134)
+++ trunk/Source/ThirdParty/gtest/xcode/Config/General.xcconfig	2013-09-05 18:23:02 UTC (rev 155135)
@@ -29,6 +29,9 @@
 // Force C99 dialect
 GCC_C_LANGUAGE_STANDARD = c99
 
+// Force C++11
+CLANG_CXX_LANGUAGE_STANDARD = gnu++0x;
+
 // not sure why apple defaults this on, but it's pretty risky
 ALWAYS_SEARCH_USER_PATHS = NO
 

Modified: trunk/Source/WebCore/ChangeLog (155134 => 155135)


--- trunk/Source/WebCore/ChangeLog	2013-09-05 18:01:00 UTC (rev 155134)
+++ trunk/Source/WebCore/ChangeLog	2013-09-05 18:23:02 UTC (rev 155135)
@@ -1,3 +1,14 @@
+2013-09-05  Anders Carlsson  <[email protected]>
+
+        Enable C++11 wherever we build C++ files that include wtf/Platform.h
+        https://bugs.webkit.org/show_bug.cgi?id=120782
+
+        Reviewed by Andreas Kling.
+
+        Pass -std=gnu++11 when preprocessing wtf/Platform.h.
+
+        * DerivedSources.make:
+
 2013-09-05  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: Breakpoint Actions

Modified: trunk/Source/WebCore/DerivedSources.make (155134 => 155135)


--- trunk/Source/WebCore/DerivedSources.make	2013-09-05 18:01:00 UTC (rev 155134)
+++ trunk/Source/WebCore/DerivedSources.make	2013-09-05 18:23:02 UTC (rev 155135)
@@ -713,7 +713,7 @@
 	SDK_FLAGS=-isysroot $(SDKROOT)
 endif
 
-ifeq ($(shell $(CC) -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
+ifeq ($(shell $(CC) -std=gnu++11 -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
     ENABLE_ORIENTATION_EVENTS = 1
 endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to