Title: [149726] trunk/Tools
- Revision
- 149726
- Author
- [email protected]
- Date
- 2013-05-08 02:50:02 -0700 (Wed, 08 May 2013)
Log 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:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (149725 => 149726)
--- trunk/Tools/ChangeLog 2013-05-08 09:41:11 UTC (rev 149725)
+++ trunk/Tools/ChangeLog 2013-05-08 09:50:02 UTC (rev 149726)
@@ -1,3 +1,21 @@
+2013-05-08 Andras Becsi <[email protected]>
+
+ [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:
+
2013-05-08 Darin Adler <[email protected]>
Fix one more place that needed to use adoptCF/NS
Modified: trunk/Tools/qmake/mkspecs/features/unix/default_pre.prf (149725 => 149726)
--- trunk/Tools/qmake/mkspecs/features/unix/default_pre.prf 2013-05-08 09:41:11 UTC (rev 149725)
+++ trunk/Tools/qmake/mkspecs/features/unix/default_pre.prf 2013-05-08 09:50:02 UTC (rev 149726)
@@ -18,5 +18,6 @@
# Reduce linking memory pressure on 32-bit debug builds on Linux
linux-g++*:CONFIG(debug, debug|release):isEqual(QT_ARCH,i386): CONFIG += use_all_in_one_files
+*clang: CONFIG += c++11
load(default_pre)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes