Re: [hatari-devel] warning: array subscript has type ‘char’ [-Wchar-subscripts]

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


On 09/06/2014 22:14, Vincent Rivière wrote:
warning: array subscript has type ‘char’ [-Wchar-subscripts]

Finally, it seems to be a Newlib (Cygwin's libc) feature:
https://sourceware.org/ml/newlib/2014/msg00066.html

The theoretical clean solution would be to cast the ctype function arguments to unsigned char, but I'm not fully convinced that it's sane to cripple the source code that way.

--
Vincent Rivière



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