mirror of
https://github.com/eclipse/upm.git
synced 2025-07-04 10:51: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:
@ -92,7 +92,7 @@ endfunction ()
|
||||
# Compiler flags common to both C and CXX
|
||||
# Enable -Wall
|
||||
# GCC-6 added -Wmisleading-indentation to -Wall, skip these for now
|
||||
set (C_CXX_WARNING_FLAGS -Wall -Wno-misleading-indentation)
|
||||
set (C_CXX_WARNING_FLAGS -Wall -Wno-misleading-indentation -Wno-strict-aliasing)
|
||||
|
||||
# Warnings as errors?
|
||||
if (WERROR)
|
||||
|
Reference in New Issue
Block a user