Changeset 244656 in webkit


Ignore:
Timestamp:
Apr 25, 2019 11:49:20 AM (5 years ago)
Author:
achristensen@apple.com
Message:

Source/WebCore:
Fix MSVC build after r244653
https://bugs.webkit.org/show_bug.cgi?id=197131

  • svg/properties/SVGValueProperty.h:

MSVC doesn't think it can access these protected constructors from subclasses.
Make the build work and investigate this later.

Source/WTF:
Fix High Sierra build after r244653
https://bugs.webkit.org/show_bug.cgi?id=197131

  • wtf/StdLibExtras.h:

High Sierra thinks cplusplus is 201406 even when using C++17.
Removing the
cplusplus check resolves the build failure on High Sierra.
We can clean up StdLibExtras more later.

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r244653 r244656  
     12019-04-25  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix High Sierra build after r244653
     4        https://bugs.webkit.org/show_bug.cgi?id=197131
     5
     6        * wtf/StdLibExtras.h:
     7        High Sierra thinks __cplusplus is 201406 even when using C++17.
     8        Removing the __cplusplus check resolves the build failure on High Sierra.
     9        We can clean up StdLibExtras more later.
     10
    1112019-04-25  Alex Christensen  <achristensen@webkit.org>
    212
  • trunk/Source/WTF/wtf/StdLibExtras.h

    r237789 r244656  
    528528// Provide in_place_t when not building with -std=c++17, or when building with libstdc++ 6
    529529// (which doesn't define the _GLIBCXX_RELEASE macro that's been introduced in libstdc++ 7).
    530 #if (__cplusplus < 201703L || (defined(__GLIBCXX__) && !defined(_GLIBCXX_RELEASE))) && (!defined(_MSVC_LANG) || _MSVC_LANG < 201703L)
     530#if ((defined(__GLIBCXX__) && !defined(_GLIBCXX_RELEASE))) && (!defined(_MSVC_LANG) || _MSVC_LANG < 201703L)
    531531
    532532// These are inline variable for C++17 and later.
  • trunk/Source/WebCore/ChangeLog

    r244653 r244656  
     12019-04-25  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix MSVC build after r244653
     4        https://bugs.webkit.org/show_bug.cgi?id=197131
     5
     6        * svg/properties/SVGValueProperty.h:
     7        MSVC doesn't think it can access these protected constructors from subclasses.
     8        Make the build work and investigate this later.
     9
    1102019-04-25  Alex Christensen  <achristensen@webkit.org>
    211
  • trunk/Source/WebCore/svg/properties/SVGValueProperty.h

    r243183 r244656  
    4747    PropertyType& value() { return m_value; }
    4848
     49    // Visual Studio doesn't seem to see these private constructors from subclasses.
     50    // FIXME: See what it takes to remove this hack.
     51#if !COMPILER(MSVC)
    4952protected:
     53#endif
    5054    // Create an initialized property, e.g creating an item to be appended in an SVGList.
    5155    SVGValueProperty(const PropertyType& value)
Note: See TracChangeset for help on using the changeset viewer.