forked from Imagelibrary/binutils-gdb
sim: warnings: enable -Wreturn-type
Older versions of gcc support this warning flag. We're already clean.
This commit is contained in:
1
sim/configure
vendored
1
sim/configure
vendored
@@ -15846,6 +15846,7 @@ build_warnings="$build_warnings
|
||||
-Wold-style-definition
|
||||
-Wpointer-sign
|
||||
-Wreturn-mismatch
|
||||
-Wreturn-type
|
||||
-Wstrict-prototypes
|
||||
-Wno-enum-conversion
|
||||
"
|
||||
|
||||
@@ -69,6 +69,7 @@ build_warnings="$build_warnings
|
||||
-Wold-style-definition
|
||||
-Wpointer-sign
|
||||
-Wreturn-mismatch
|
||||
-Wreturn-type
|
||||
-Wstrict-prototypes
|
||||
dnl The cgen virtual insn logic involves enum conversions.
|
||||
dnl Disable until we can figure out how to make this work.
|
||||
|
||||
Reference in New Issue
Block a user