aboutsummaryrefslogtreecommitdiff
path: root/riscv
diff options
context:
space:
mode:
Diffstat (limited to 'riscv')
-rw-r--r--riscv/interactive.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/interactive.cc b/riscv/interactive.cc
index 21cc31c..bba4540 100644
--- a/riscv/interactive.cc
+++ b/riscv/interactive.cc
@@ -20,6 +20,10 @@
#include <algorithm>
#include <math.h>
+#ifdef __GNUC__
+# pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
+
#define MAX_CMD_STR 40 // maximum possible size of a command line
#define BITS_PER_CHAR 8