From d2e0327c30b731289a46a6fd5d6aac36650af19e Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Thu, 2 Feb 2017 12:25:59 -0700 Subject: [PATCH] src/CMakLists.txt: re-disable other warnings for SWIG building Signed-off-by: Jon Trulson --- src/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dd2a9cf0..a63474bc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,11 +3,11 @@ # Unfortunaly this quick fix for issue #518, adds a .c file to the # java swig wrapper which then failes on CXX compiler warnings. For # now, turn off warnings as errors for all the swig wrappers. -set (SWIG_CXX_DISABLE_WARNINGS -Wno-error) -#set (SWIG_CXX_DISABLE_WARNINGS -Wno-delete-non-virtual-dtor -# -Wno-unused-function -# -Wno-maybe-uninitialized -# -Wno-strict-aliasing) +set (SWIG_CXX_DISABLE_WARNINGS -Wno-error + -Wno-delete-non-virtual-dtor + -Wno-unused-function + -Wno-maybe-uninitialized + -Wno-strict-aliasing) macro (file_to_list readfile outlist) FILE(READ "${readfile}" contents)