First post, by Dominus
Dominus
Offline
Rank
DOSBox Moderator
- Rank
- DOSBox Moderator
With clang from the prerelease Xcode 5 I get these errors:
In file included from ./core_dyn_x86/dyn_fpu.h:49:./core_dyn_x86/../../fpu/fpu_instructions_x86.h:1164:2: error: ambiguousinstructions require an explicit suffix (could be 'filds', or 'fildl')FPUD_LOAD(fild,WORD,)^./core_dyn_x86/../../fpu/fpu_instructions_x86.h:560:4: note: expanded from macro'FPUD_LOAD'#op #szA " (%2, %%eax) \n" \^<scratch space>:36:2: note: expanded from here"fild"^<inline asm>:5:1: note: instantiated into assembly herefild (%edx, %eax)^In file included from core_dyn_x86.cpp:234:In file included from ./core_dyn_x86/decoder.h:1988:In file included from ./core_dyn_x86/dyn_fpu.h:49:./core_dyn_x86/../../fpu/fpu_instructions_x86.h:1214:2: error: ambiguousinstructions require an explicit suffix (could be 'fistps', or 'fistpl')FPUD_STORE(fistp,WORD,)^./core_dyn_x86/../../fpu/fpu_instructions_x86.h:621:4: note: expanded from macro'FPUD_STORE'#op #szA " (%3, %%eax) \n" \^<scratch space>:52:2: note: expanded from here"fistp"^<inline asm>:8:1: note: instantiated into assembly herefistp (%esi, %eax)^In file included from core_dyn_x86.cpp:234:In file included from ./core_dyn_x86/decoder.h:1988:In file included from ./core_dyn_x86/dyn_fpu.h:49:./core_dyn_x86/../../fpu/fpu_instructions_x86.h:1169:2: error: ambiguousinstructions require an explicit suffix (could be 'filds', or 'fildl')FPUD_LOAD_EA(fild,WORD,)^./core_dyn_x86/../../fpu/fpu_instructions_x86.h:586:4: note: expanded from macro'FPUD_LOAD_EA'#op #szA " (%1, %%eax) \n" \^<scratch space>:38:2: note: expanded from here"fild"^<inline asm>:4:1: note: instantiated into assembly herefild (%edx, %eax)^3 errors generated.
older clang versions compiled Dosbox but dynamic core didn't work/crash or so. Maybe this was the culprit.
The problem is that Xcode 5 will only ship with clang, no other compiler will be included.