[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

demarchi at webkit.org demarchi at webkit.org
Wed Dec 22 13:41:27 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit f9201019764a9ef17f9073373ec909f559e36f2b
Author: demarchi at webkit.org <demarchi at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Sep 23 16:21:03 2010 +0000

    2010-09-23  Lucas De Marchi  <lucas.demarchi at profusion.mobi>
    
            Reviewed by Antonio Gomes.
    
            [EFL] Enable warnings during build by default
            https://bugs.webkit.org/show_bug.cgi?id=46351
    
            Change default build to enable several warnings like other ports do.
            We need to pay special attention to "-Wall" in order to produce better
            code, so highlight this keyword, too.
    
            * cmake/WebKitHelpers.cmake:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68150 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/ChangeLog b/ChangeLog
index 8d9d658..d8bc7a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2010-09-23  Lucas De Marchi  <lucas.demarchi at profusion.mobi>
+
+        Reviewed by Antonio Gomes.
+
+        [EFL] Enable warnings during build by default
+        https://bugs.webkit.org/show_bug.cgi?id=46351
+
+        Change default build to enable several warnings like other ports do.
+        We need to pay special attention to "-Wall" in order to produce better
+        code, so highlight this keyword, too.
+
+        * cmake/WebKitHelpers.cmake:
+
 2010-09-22  Lucas De Marchi  <lucas.demarchi at profusion.mobi>
 
         Reviewed by Antonio Gomes.
diff --git a/cmake/WebKitHelpers.cmake b/cmake/WebKitHelpers.cmake
index 34c395a..8e26693 100644
--- a/cmake/WebKitHelpers.cmake
+++ b/cmake/WebKitHelpers.cmake
@@ -20,6 +20,9 @@ MACRO(WEBKIT_SET_EXTRA_COMPILER_FLAGS _target)
 
     SET(OLD_COMPILE_FLAGS "-fno-exceptions -fno-strict-aliasing ${OLD_COMPILE_FLAGS}")
 
+    # Enable warnings by default
+    SET(OLD_COMPILE_FLAGS "-W -DANOTHER_BRICK_IN_THE -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat -Wformat-security -Wmissing-format-attribute -Wno-format-y2k -Wno-parentheses -Wno-unused-parameter -Wpointer-arith  -Wreturn-type -Wundef -Wwrite-strings ${OLD_COMPILE_FLAGS}")
+
     SET_TARGET_PROPERTIES (${_target} PROPERTIES
 	COMPILE_FLAGS "${OLD_COMPILE_FLAGS}")
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list