Changeset 155135 in webkit


Ignore:
Timestamp:
Sep 5, 2013 11:23:02 AM (11 years ago)
Author:
andersca@apple.com
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:
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/ChangeLog

    r154333 r155135  
     12013-09-05  Anders Carlsson  <andersca@apple.com>
     2
     3        Enable C++11 wherever we build C++ files that include wtf/Platform.h
     4        https://bugs.webkit.org/show_bug.cgi?id=120782
     5
     6        Reviewed by Andreas Kling.
     7
     8        Set CLANG_CXX_LANGUAGE_STANDARD to gnu++0x.
     9
     10        * gtest/xcode/Config/General.xcconfig:
     11
    1122013-08-20  Alex Christensen  <achristensen@apple.com>
    213
  • trunk/Source/ThirdParty/gtest/xcode/Config/General.xcconfig

    r153756 r155135  
    3030GCC_C_LANGUAGE_STANDARD = c99
    3131
     32// Force C++11
     33CLANG_CXX_LANGUAGE_STANDARD = gnu++0x;
     34
    3235// not sure why apple defaults this on, but it's pretty risky
    3336ALWAYS_SEARCH_USER_PATHS = NO
  • trunk/Source/WebCore/ChangeLog

    r155132 r155135  
     12013-09-05  Anders Carlsson  <andersca@apple.com>
     2
     3        Enable C++11 wherever we build C++ files that include wtf/Platform.h
     4        https://bugs.webkit.org/show_bug.cgi?id=120782
     5
     6        Reviewed by Andreas Kling.
     7
     8        Pass -std=gnu++11 when preprocessing wtf/Platform.h.
     9
     10        * DerivedSources.make:
     11
    1122013-09-05  Joseph Pecoraro  <pecoraro@apple.com>
    213
  • trunk/Source/WebCore/DerivedSources.make

    r155057 r155135  
    714714endif
    715715
    716 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)
     716ifeq ($(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)
    717717    ENABLE_ORIENTATION_EVENTS = 1
    718718endif
Note: See TracChangeset for help on using the changeset viewer.