Re: [hatari-devel] error: redefinition of typedef ‘uae_u8’ etc. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] error: redefinition of typedef ‘uae_u8’ etc.
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Sun, 1 Jan 2017 14:41:00 -0700 (MST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1483306860; bh=FmlR5hYzUfAgCch0ysOXxaojeXKIMj/HX2RtWPtzQvs=; h=Date:From:To:In-Reply-To:Subject; b=lAiT/AlBOQ8fHaU0Q5jkJnF+6H1nVuO56pqTqISYAhvGIBpnZ1b9pbsAfjlkJdPNl zb4ec2V6MoAynbv34ElQFFhxZBQQFXxgHesbnKKbxdYr5kaCQdA/xwrY3THlDxe5jz VOlmdXSWcK0VeMwNX8DdZT4fp67n6TUo69Z5EAcFlva+q7AhayAPQE2RPODOPBtHxj vlswTcfg/+uk/EogXi/IUBcUfb30MNRcbLtouGLTMHoaUeVaiQezrgiJH/ajbJxGus zVmrwDQOlymTnO2FhhZWmWr/gFkL2VCGh8bMu8OE24r1bT8joOto5daKg9DR8QhOVl keZpwcXUt0V7g==
- Thread-index: FaxVuuZxT09hStNwIovKWnOOK/jSqA==
- Thread-topic: error: redefinition of typedef ‘uae_u8’ etc.
----- Thomas Huth wrote:
> Am Sat, 31 Dec 2016 16:09:00 -0700 (MST)
> schrieb David Savinkoff:
>
> > ...
> > hatari.6467/src/cpu/sysdeps.h:181: error: redefinition of typedef
> > ...
>
> Yes ... this has been reported a couple of times already, it happens on
> some systems because there are different definitions of these types in
> sysdeps.h and uae/types.h. I've now committed a fix (disabled the type
> definitions in sysdeps.h and always rely on the ones from uae/types.h),
> could you please try again if it is working right for you now?
Yes this works. Thank you.
>
> A question for Toni: Is there a reason for the different type
> definitions in WinUAE? Or could you also just #include "uae/types.h"
> from sysdeps.h and drop the definitions in sysdeps.h ?
>
> Happy new year,
> Thomas
>
>