[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
Fri Apr 15 15:28:29 CDT 2011


branch "master" has been updated
       via  0a5d9aff2a5af208afe3736e2d674ed73138c160 (commit)
      from  f497f9c0235bf0037cbc95f7c42b6c3d24b5840a (commit)

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


- Log -----------------------------------------------------------------
commit 0a5d9aff2a5af208afe3736e2d674ed73138c160
Author: David M. Lee <dlee at digium.com>
Date:   Fri Apr 15 13:39:45 2011 -0500

    Removed two -W flags that are causing problems.
    
    * -Wlogical-op - unsupported in older GCC's
    * -Wunused-parameter - Ice is still generating some unused params

diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index 6d22fd8..c1d1d55 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -260,7 +260,9 @@ function(asterisk_scf_project NAME ICE_VERSION)
 
     if(CMAKE_COMPILER_IS_GNUCXX)
         list(APPEND cxx_flags ${ICE_CXX_FLAGS})
-        list(APPEND cxx_flags_debug "-Werror" "-Wshadow" "-Wmissing-format-attribute" "-Wformat=2" "-Wall" "-Wextra" "-Wpointer-arith" "-Wconversion" "-Wlogical-op" "-g3")
+        # 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_profile "-ftest-coverage" "-fprofile-arcs")
     endif()
 

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


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list