[asterisk-scf-commits] asterisk-scf/release/cmake.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Apr 19 07:55:12 CDT 2011


branch "master" has been updated
       via  ab619613d15ba05480c2f5b8fb811f21779afd60 (commit)
      from  09b5396de4a65eb8686d91919722e558aee51467 (commit)

Summary of changes:
 AsteriskSCF.cmake |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit ab619613d15ba05480c2f5b8fb811f21779afd60
Author: Brent Eagles <beagles at digium.com>
Date:   Tue Apr 19 10:23:59 2011 -0230

    Temporarily disabling the "treat warnings as error flag" until we can
    sort out the shadow warnings for AMD related generated code.

diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index c1d1d55..be09ffd 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -254,7 +254,7 @@ function(asterisk_scf_project NAME ICE_VERSION)
     endif()
 
     if(CMAKE_COMPILER_IS_GNUC)
-        list(APPEND c_flags_debug "-Werror" "-Wall" "-g3")
+        list(APPEND c_flags_debug "-Wall" "-g3")
 	list(APPEND c_flags_profile "-ftest-coverage" "-fprofile-arcs")
     endif()
 
@@ -262,7 +262,7 @@ function(asterisk_scf_project NAME ICE_VERSION)
         list(APPEND cxx_flags ${ICE_CXX_FLAGS})
         # TODO - add -Wlogical-op if and only if supported
         # TODO - remove -Wno-unused-parameter when we get the Ice headers straightened out
-        list(APPEND cxx_flags_debug "-Werror" "-Wshadow" "-Wmissing-format-attribute" "-Wformat=2" "-Wall" "-Wextra" "-Wpointer-arith" "-Wconversion" "-Wno-unused-parameter" "-g3")
+        list(APPEND cxx_flags_debug "-Wshadow" "-Wmissing-format-attribute" "-Wformat=2" "-Wall" "-Wextra" "-Wpointer-arith" "-Wconversion" "-Wno-unused-parameter" "-g3")
 	list(APPEND cxx_flags_profile "-ftest-coverage" "-fprofile-arcs")
     endif()
 

-----------------------------------------------------------------------


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list