mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
cmake: disable some other warnings seen with edison gcc 4.9.1
Also, fix possible uninitialized access in ds1808lc C++ example. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
# Selectively disable certain CXX warnings for SWIG wrappers
|
||||
# SWIG wrappers emit -Wdelete-non-virtual-dtor and -Wunused-function warnings
|
||||
set (SWIG_CXX_DISABLE_WARNINGS -Wno-delete-non-virtual-dtor
|
||||
-Wno-unused-function)
|
||||
-Wno-unused-function
|
||||
-Wno-maybe-uninitialized
|
||||
-Wno-strict-aliasing)
|
||||
|
||||
macro (file_to_list readfile outlist)
|
||||
FILE(READ "${readfile}" contents)
|
||||
|
Reference in New Issue
Block a user