diff options
author | Tom Rondeau | 2011-12-11 14:43:51 -0500 |
---|---|---|
committer | Tom Rondeau | 2011-12-11 14:43:51 -0500 |
commit | 8cee087b35b4692863a170c1a88e3fda36a005c6 (patch) | |
tree | 187b264931b5a2e6b1a4ddc13b4d5be59af84dff | |
parent | c08487898c1be6a44f3cd19c0e7ff78095033efe (diff) | |
download | gnuradio-8cee087b35b4692863a170c1a88e3fda36a005c6.tar.gz gnuradio-8cee087b35b4692863a170c1a88e3fda36a005c6.tar.bz2 gnuradio-8cee087b35b4692863a170c1a88e3fda36a005c6.zip |
Most of these warnings are coming from swig-generated sources. They are almost never an actual problem, so just turn the warning off.
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | config/lf_warnings.m4 | 4 | ||||
-rw-r--r-- | volk/config/lf_warnings.m4 | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8712993e4..b966d3313 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,7 @@ endif() if(CMAKE_COMPILER_IS_GNUCXX) GR_ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-Wsign-compare HAVE_WARN_SIGN_COMPARE) GR_ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-Wall HAVE_WARN_ALL) + GR_ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-Wno-uninitialized HAVE_WARN_NO_UNINITIALIZED) endif(CMAKE_COMPILER_IS_GNUCXX) if(MSVC) diff --git a/config/lf_warnings.m4 b/config/lf_warnings.m4 index d40c77f14..508450fa9 100644 --- a/config/lf_warnings.m4 +++ b/config/lf_warnings.m4 @@ -108,8 +108,8 @@ EOF AC_DEFUN([LF_SET_WARNINGS],[ dnl Warnings for the two main compilers dnl add -Wextra when you're got time to fix a bunch of them ;-) - cc_warning_flags="-Wall -Werror-implicit-function-declaration" - cxx_warning_flags="-Wall -Woverloaded-virtual" + cc_warning_flags="-Wall -Werror-implicit-function-declaration -Wno-uninitialized" + cxx_warning_flags="-Wall -Woverloaded-virtual -Wno-uninitialized" if test -n "${CC}" then LF_CHECK_CC_FLAG($cc_warning_flags) diff --git a/volk/config/lf_warnings.m4 b/volk/config/lf_warnings.m4 index e62fb276c..0ef7b2b37 100644 --- a/volk/config/lf_warnings.m4 +++ b/volk/config/lf_warnings.m4 @@ -110,8 +110,8 @@ EOF AC_DEFUN([LF_SET_WARNINGS],[ dnl Warnings for the two main compilers dnl add -Wextra when you're got time to fix a bunch of them ;-) - cc_warning_flags="-Wall -Werror-implicit-function-declaration" - cxx_warning_flags="-Wall -Woverloaded-virtual" + cc_warning_flags="-Wall -Werror-implicit-function-declaration -Wno-uninitialized" + cxx_warning_flags="-Wall -Woverloaded-virtual -Wno-uninitialized" if test -n "${CC}" then LF_CHECK_CC_FLAG($cc_warning_flags) |