mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-08 07:27:43 -07:00
The REG_PC define in disas/microblaze.c clashes with a define in
the Linux SPARC system headers:
/home/pm215/qemu/disas/microblaze.c:162:0: error: "REG_PC" redefined [-Werror]
#define REG_PC 32 /* PC */
In file included from /usr/include/signal.h:326:0,
from /home/pm215/qemu/include/qemu/osdep.h:86,
from /home/pm215/qemu/disas/microblaze.c:36:
/usr/include/sparc64-linux-gnu/sys/ucontext.h:96:0: note: this is the location of the previous definition
#define REG_PC (1)
Since the code doesn't actually use the REG_PC define
anywhere, the simplest fix is just to remove it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1490272961-1128-1-git-send-email-peter.maydell@linaro.org
|
||
|---|---|---|
| .. | ||
| libvixl | ||
| alpha.c | ||
| arm-a64.cc | ||
| arm.c | ||
| cris.c | ||
| hppa.c | ||
| i386.c | ||
| ia64.c | ||
| lm32.c | ||
| m68k.c | ||
| Makefile.objs | ||
| microblaze.c | ||
| mips.c | ||
| moxie.c | ||
| nios2.c | ||
| ppc.c | ||
| s390.c | ||
| sh4.c | ||
| sparc.c | ||
| tci.c | ||