mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
mraa: Temporarily turn off deprecated warnings
MRAA deprecated mraa_gpio_use_mmaped which gets flagged as a warning in UPM and then fails since -Werror is set. For now, don't flag deprecations as warnings. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
parent
334f7365f0
commit
f907ebcf2e
@ -91,7 +91,11 @@ endfunction ()
|
|||||||
# Compiler flags common to both C and CXX
|
# Compiler flags common to both C and CXX
|
||||||
# Enable -Wall
|
# Enable -Wall
|
||||||
# GCC-6 added -Wmisleading-indentation to -Wall, skip these for now
|
# GCC-6 added -Wmisleading-indentation to -Wall, skip these for now
|
||||||
set (C_CXX_WARNING_FLAGS -Wall -Wno-misleading-indentation -Wno-strict-aliasing)
|
set (C_CXX_WARNING_FLAGS -Wall
|
||||||
|
-Wno-misleading-indentation
|
||||||
|
-Wno-strict-aliasing
|
||||||
|
-Wno-deprecated-declarations # Temp fix for MRAA deprecated methods
|
||||||
|
)
|
||||||
|
|
||||||
# Warnings as errors?
|
# Warnings as errors?
|
||||||
if (WERROR)
|
if (WERROR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user