[GCC] Fix build with gcc < 4.8.1, which does not have is_trivially_destructible
Created attachment 212775 [details] Patch
Comment on attachment 212775 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=212775&action=review > Source/WTF/wtf/StdLibExtras.h:308 > +#if (defined(_MSC_VER) && _MSC_VER < 1700) || (COMPILER(GCC) && !(__GNUC__ >= 4 && __GNUC_MINOR__ >= 8 && __GNUC_PATCHLEVEL__ >= 1)) Ins't that reimplementing GCC_VERSION_AT_LEAST? I am pretty sure Clang also matches COMPILER(GCC). > Source/WTF/wtf/StdLibExtras.h:310 > // Work-around for Pre-C++11 syntax in MSVC 2010 and prior You need to fix the comment as well.
hah, I should have looked harder, I didn't know about GCC_VERSION_AT_LEAST, thanks, modified patch incoming in a bit, thanks!
Created attachment 212782 [details] Patch
Comment on attachment 212782 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=212782&action=review > Source/WTF/wtf/StdLibExtras.h:310 > +// Work-around for Pre-C++11 syntax in MSVC 2010 and prior as well as GCC < 4.8.1. Please add a comma to split "and prior as well as".
Committed r156529: <http://trac.webkit.org/changeset/156529>
Comment on attachment 212782 [details] Patch Clearing flags. I landed manually after followed comment in order to fix build break on EFL, GTK and Qt bot. Thanks.
*** Bug 122008 has been marked as a duplicate of this bug. ***
Adding the original bug (which broke the build) to blocks list.