add compiler flag -Wreturn-type

to get a warning for "unclear" returns
This commit is contained in:
Jason2866 2020-11-13 09:24:35 +01:00 committed by GitHub
parent 747974cd32
commit 03d6d8198e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ build_unflags = -mtarget-align
-Wdeprecated-declarations
build_flags = -mno-target-align
-Wno-deprecated-declarations
-Wreturn-type
-D_IR_ENABLE_DEFAULT_=false
-DDECODE_HASH=true -DDECODE_NEC=true -DSEND_NEC=true
-DDECODE_RC5=true -DSEND_RC5=true -DDECODE_RC6=true -DSEND_RC6=true