Browse Source

sim: warnings: enable -Wshift-negative-value

Now that all the relevant sources are fixed, enable the warning.
binutils-2_42-branch
Mike Frysinger 2 years ago
parent
commit
9f17cdda31
  1. 1
      sim/configure
  2. 1
      sim/m4/sim_ac_option_warnings.m4

1
sim/configure

@ -16175,6 +16175,7 @@ build_warnings="$build_warnings
-Wpointer-sign
-Wreturn-mismatch
-Wreturn-type
-Wshift-negative-value
-Wstrict-prototypes
-Wno-enum-conversion
"

1
sim/m4/sim_ac_option_warnings.m4

@ -70,6 +70,7 @@ build_warnings="$build_warnings
-Wpointer-sign
-Wreturn-mismatch
-Wreturn-type
-Wshift-negative-value
-Wstrict-prototypes
dnl The cgen virtual insn logic involves enum conversions.
dnl Disable until we can figure out how to make this work.

Loading…
Cancel
Save