Aaron posted this to the list when releasing 0.98u1

"Porters beware: I moved the PAIR struct/union into mamecore.h, so you should
remove it from your osd_cpu.h. It's possible some of the other bits I
shuffled may cause a compile headache or two, but hopefully not. Same goes
for the makefile changes."

----- Original Message ----- From: "Mathis Rosenhauer" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, July 18, 2005 4:34 PM
Subject: Re: [Xmame] Compile error of current CVS on Fedora Core 4


Matthias Saou wrote:
Hi,

I just tried to recompile a current CVS checkout on Fedora Core 4 i386 and
got this error :

[...]
mkdir -p xmame.obj/vidhrdw
Compiling src/machine/segacrpt.c ...
In file included from src/driver.h:57,
                 from src/machine/segacrpt.c:171:
src/mamecore.h:55: error: conflicting types for 'PAIR'
src/unix/osd_cpu.h:99: error: previous declaration of 'PAIR' was here
make: *** [xmame.obj/machine/segacrpt.o] Error 1


Just remove the typedef PAIR from src/unix/osd_cpu.h or enclose it in #ifndef __MAMECORE_H__

You'll also have to change some XXXXX_H to __XXXXX_H__ in sysdep_display.h since they changed in the core.

Cheers,

Mathis

Matthias


_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.0/49 - Release Date: 16/07/2005




_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to