Changeset 149726 in webkit


Ignore:
Timestamp:
May 8, 2013 2:50:02 AM (11 years ago)
Author:
abecsi@webkit.org
Message:

[Qt] Build fails with clang
https://bugs.webkit.org/show_bug.cgi?id=115741

Reviewed by Benjamin Poulain.

Since r149112 std::move is used in AtomicString for compilers that
support rvalue references and this requires a standard library
implementing c++11 move semantics.
We only explicitely require c++11 for WebKit2, but since clang supports
rvalue references the build of subtargets using AtomicString fails because
of missing std::move.
It is safe to add CONFIG += c++11 for the whole project when using clang
since we explicitely disable c++11 for ANGLE that had probems with libc++.

  • qmake/mkspecs/features/unix/default_pre.prf:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r149725 r149726  
     12013-05-08  Andras Becsi  <andras.becsi@digia.com>
     2
     3        [Qt] Build fails with clang
     4        https://bugs.webkit.org/show_bug.cgi?id=115741
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        Since r149112 std::move is used in AtomicString for compilers that
     9        support rvalue references and this requires a standard library
     10        implementing c++11 move semantics.
     11        We only explicitely require c++11 for WebKit2, but since clang supports
     12        rvalue references the build of subtargets using AtomicString fails because
     13        of missing std::move.
     14        It is safe to add CONFIG += c++11 for the whole project when using clang
     15        since we explicitely disable c++11 for ANGLE that had probems with libc++.
     16
     17        * qmake/mkspecs/features/unix/default_pre.prf:
     18
    1192013-05-08  Darin Adler  <darin@apple.com>
    220
  • trunk/Tools/qmake/mkspecs/features/unix/default_pre.prf

    r139570 r149726  
    1919# Reduce linking memory pressure on 32-bit debug builds on Linux
    2020linux-g++*:CONFIG(debug, debug|release):isEqual(QT_ARCH,i386): CONFIG += use_all_in_one_files
     21*clang: CONFIG += c++11
    2122
    2223load(default_pre)
Note: See TracChangeset for help on using the changeset viewer.