sim: d10v: fix build warnings
authorMike Frysinger <vapier@gentoo.org>
Mon, 19 Apr 2021 01:13:34 +0000 (21:13 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 19 Apr 2021 01:16:03 +0000 (21:16 -0400)
commitd3b0ab8b36319f4232367b046ecfc0c656a177ad
treed61954ba1616acfd45c3cd5f7c987142465d3692
parent3912a8db685f5e19a883d02d66900cdf10a200f0
sim: d10v: fix build warnings

The printf fix uses our PRIxTA for our sim address type.

Then cast away the const (since the underlying code safely treats it
as such) even if it's ugly.

Finally touch up the argv iterator pointer to match the new func arg.

With this tidied up, we can delete the SIM_AC_OPTION_WARNINGS(no) call
to get the default common behavior where -Werror is enabled.
sim/d10v/ChangeLog
sim/d10v/configure
sim/d10v/configure.ac
sim/d10v/interp.c