Changeset 156529 in webkit


Ignore:
Timestamp:
Sep 27, 2013 12:48:50 AM (11 years ago)
Author:
ryuan.choi@samsung.com
Message:

[GCC] Fix build with gcc < 4.8.1, which does not have is_trivially_destructible
https://bugs.webkit.org/show_bug.cgi?id=121999

Patch by Gustavo Noronha Silva <Gustavo Noronha Silva> on 2013-09-27
Reviewed by Benjamin Poulain.

  • wtf/StdLibExtras.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r156526 r156529  
     12013-09-27  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        [GCC] Fix build with gcc < 4.8.1, which does not have is_trivially_destructible
     4        https://bugs.webkit.org/show_bug.cgi?id=121999
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * wtf/StdLibExtras.h:
     9
    1102013-09-26  Anders Carlsson  <andersca@apple.com>
    211
  • trunk/Source/WTF/wtf/StdLibExtras.h

    r156516 r156529  
    306306}
    307307
    308 #if defined(_MSC_VER) && _MSC_VER < 1700
    309 // Work-around for Pre-C++11 syntax in MSVC 2010 and prior
     308#if (defined(_MSC_VER) && _MSC_VER < 1700) || (COMPILER(GCC) && !COMPILER(CLANG) && !GCC_VERSION_AT_LEAST(4, 8, 1))
     309
     310// Work-around for Pre-C++11 syntax in MSVC 2010, and prior as well as GCC < 4.8.1.
    310311namespace std {
    311312    template<class T> struct is_trivially_destructible {
Note: See TracChangeset for help on using the changeset viewer.