aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsim/configure1
-rw-r--r--sim/m4/sim_ac_option_warnings.m43
2 files changed, 4 insertions, 0 deletions
diff --git a/sim/configure b/sim/configure
index 79a21e8..7ed9834 100755
--- a/sim/configure
+++ b/sim/configure
@@ -15842,6 +15842,7 @@ build_warnings="$build_warnings
-Wold-style-declaration
-Wold-style-definition
-Wpointer-sign
+-Wno-enum-conversion
"
case "${host}" in
diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4
index e453d88..52beee8 100644
--- a/sim/m4/sim_ac_option_warnings.m4
+++ b/sim/m4/sim_ac_option_warnings.m4
@@ -64,6 +64,9 @@ build_warnings="$build_warnings
-Wold-style-declaration
-Wold-style-definition
-Wpointer-sign
+dnl The cgen virtual insn logic involves enum conversions.
+dnl Disable until we can figure out how to make this work.
+-Wno-enum-conversion
"
case "${host}" in