[hydra-commits] hydra/cmake.git branch "master" updated.

Commits to the Hydra project code repositories hydra-commits at lists.digium.com
Thu Aug 5 08:07:20 CDT 2010


branch "master" has been updated
       via  5d83a7cbd91ce4d278b40c676f71b9eba9c851e4 (commit)
      from  034cde5461b4250ee0cd613258c282e9f7f769ad (commit)

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


- Log -----------------------------------------------------------------
commit 5d83a7cbd91ce4d278b40c676f71b9eba9c851e4
Author: Joshua Colp <jcolp at digium.com>
Date:   Thu Aug 5 10:23:00 2010 -0300

    Revert "Let GCC warn about various style items from the Effective C++ series that are also in our coding guidelines."
    
    This reverts commit 034cde5461b4250ee0cd613258c282e9f7f769ad.

diff --git a/Hydra_v4.cmake b/Hydra_v4.cmake
index d7788e3..a14dfc7 100644
--- a/Hydra_v4.cmake
+++ b/Hydra_v4.cmake
@@ -633,7 +633,7 @@ function(hydra_component_add_file COMPONENT)
   foreach(file ${ARGN})
     list(APPEND file_list ${CMAKE_CURRENT_SOURCE_DIR}/${file})
     if(HYDRA_${COMPONENT}_LANG STREQUAL "CXX" AND CMAKE_COMPILER_IS_GNUCXX AND CMAKE_BUILD_TYPE STREQUAL Debug)
-      set_source_files_properties(${file} COMPILE_FLAGS "-Wall -Werror -Weffc++")
+      set_source_files_properties(${file} COMPILE_FLAGS "-Wall -Werror")
     endif()
   endforeach()
   list(REMOVE_DUPLICATES file_list)

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


-- 
hydra/cmake.git




More information about the asterisk-scf-commits mailing list