Title: [134614] trunk/Tools
Revision
134614
Author
[email protected]
Date
2012-11-14 08:31:03 -0800 (Wed, 14 Nov 2012)

Log Message

[Qt][ARM] Fix 'nullptr' is a keyword in C++11 [-Wc++0x-compat] warning
https://bugs.webkit.org/show_bug.cgi?id=102083

Patch by János Badics <[email protected]> on 2012-11-14
Reviewed by Csaba Osztrogonác.

Modified compiler name regex in condition that tests if -std=c++0x, c++11,
gnu++0x or gnu++11 are enabled in order to match linux-arm-gnueabi-g++ too,
thus enabling -Wno-c++0x-compat also on ARM compiler.

* qmake/mkspecs/features/unix/default_post.prf:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (134613 => 134614)


--- trunk/Tools/ChangeLog	2012-11-14 16:26:18 UTC (rev 134613)
+++ trunk/Tools/ChangeLog	2012-11-14 16:31:03 UTC (rev 134614)
@@ -1,3 +1,16 @@
+2012-11-14  János Badics  <[email protected]>
+
+        [Qt][ARM] Fix 'nullptr' is a keyword in C++11 [-Wc++0x-compat] warning
+        https://bugs.webkit.org/show_bug.cgi?id=102083
+
+        Reviewed by Csaba Osztrogonác.
+
+        Modified compiler name regex in condition that tests if -std=c++0x, c++11,
+        gnu++0x or gnu++11 are enabled in order to match linux-arm-gnueabi-g++ too,
+        thus enabling -Wno-c++0x-compat also on ARM compiler.
+
+        * qmake/mkspecs/features/unix/default_post.prf:
+
 2012-11-14  Thiago Marcos P. Santos  <[email protected]>
 
         REGRESSION(r133757): Causing webkitpy unit tests to fail

Modified: trunk/Tools/qmake/mkspecs/features/unix/default_post.prf (134613 => 134614)


--- trunk/Tools/qmake/mkspecs/features/unix/default_post.prf	2012-11-14 16:26:18 UTC (rev 134613)
+++ trunk/Tools/qmake/mkspecs/features/unix/default_post.prf	2012-11-14 16:31:03 UTC (rev 134614)
@@ -12,7 +12,7 @@
     QMAKE_CXXFLAGS += -march=pentium4 -msse2 -mfpmath=sse
 }
 
-linux-g++* {
+linux-*g++* {
     !production_build {
         # Treat warnings as errors on x86/Linux/GCC
         isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to