aboutsummaryrefslogtreecommitdiff
path: root/fesvr/syscall.cc
diff options
context:
space:
mode:
Diffstat (limited to 'fesvr/syscall.cc')
-rw-r--r--fesvr/syscall.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/fesvr/syscall.cc b/fesvr/syscall.cc
index ab7fc3b..19c9f38 100644
--- a/fesvr/syscall.cc
+++ b/fesvr/syscall.cc
@@ -17,6 +17,10 @@ using namespace std::placeholders;
#define RISCV_AT_FDCWD -100
+#ifdef __GNUC__
+# pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
+
struct riscv_stat
{
target_endian<uint64_t> dev;