Re: [hatari-devel] warning with ARRAYSIZE macro

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


Le 07/09/2016 à 23:44, Thomas Huth a écrit :

Changing our macro to cast to unsigned won't help here since on MinGW,
it will still use their macro instead. You'd need #undef ARRAYSIZE or so
instead.
Or you could rename our macro. I've seen ARRAY_SIZE in other projects
that also support MinGW, so that could maybe work better.

Yes, renaming our macro might be faster than trying to deal with other includes sharing the same name.




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