mirror of
				https://github.com/eclipse/upm.git
				synced 2025-11-04 09:05:34 +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:
		@@ -91,7 +91,11 @@ 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 -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?
 | 
			
		||||
if (WERROR)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user