Re: [hatari-devel] error: redefinition of typedef ‘uae_u8’ etc.

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


----- 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
> 
> 




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/