mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 16:30:44 +00:00
Building on GCC 2 causes errors:
../uae_cpu/gencpu.c: In function `void gen_opcode(long unsigned int)': ../uae_cpu/gencpu.c:874: conversion from `unsigned int' to `enum wordsizes' ../uae_cpu/gencpu.c:875: conversion from `unsigned int' to `enum amodes' due to mismatching of types in struct instr and types in function prototypes. However, this only started happening recently and I don't know why :-(
This commit is contained in:
parent
f28e590583
commit
21c4e9da5b
@ -103,17 +103,10 @@ extern struct instr {
|
|||||||
unsigned int mnemo:8;
|
unsigned int mnemo:8;
|
||||||
unsigned int cc:4;
|
unsigned int cc:4;
|
||||||
unsigned int plev:2;
|
unsigned int plev:2;
|
||||||
#ifdef sgi
|
|
||||||
wordsizes size:2;
|
wordsizes size:2;
|
||||||
amodes smode:5;
|
amodes smode:5;
|
||||||
unsigned int stype:3;
|
unsigned int stype:3;
|
||||||
amodes dmode:5;
|
amodes dmode:5;
|
||||||
#else
|
|
||||||
unsigned int size:2;
|
|
||||||
unsigned int smode:5;
|
|
||||||
unsigned int stype:3;
|
|
||||||
unsigned int dmode:5;
|
|
||||||
#endif
|
|
||||||
unsigned int suse:1;
|
unsigned int suse:1;
|
||||||
unsigned int duse:1;
|
unsigned int duse:1;
|
||||||
unsigned int unused1:1;
|
unsigned int unused1:1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user