src/CMakLists.txt: re-disable other warnings for SWIG building

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson 2017-02-02 12:25:59 -07:00
parent 2e97aa9979
commit d2e0327c30

View File

@ -3,11 +3,11 @@
# Unfortunaly this quick fix for issue #518, adds a .c file to the # Unfortunaly this quick fix for issue #518, adds a .c file to the
# java swig wrapper which then failes on CXX compiler warnings. For # java swig wrapper which then failes on CXX compiler warnings. For
# now, turn off warnings as errors for all the swig wrappers. # now, turn off warnings as errors for all the swig wrappers.
set (SWIG_CXX_DISABLE_WARNINGS -Wno-error) set (SWIG_CXX_DISABLE_WARNINGS -Wno-error
#set (SWIG_CXX_DISABLE_WARNINGS -Wno-delete-non-virtual-dtor -Wno-delete-non-virtual-dtor
# -Wno-unused-function -Wno-unused-function
# -Wno-maybe-uninitialized -Wno-maybe-uninitialized
# -Wno-strict-aliasing) -Wno-strict-aliasing)
macro (file_to_list readfile outlist) macro (file_to_list readfile outlist)
FILE(READ "${readfile}" contents) FILE(READ "${readfile}" contents)