...
In file included from main.C:27:0:
bitmaps/left.xbm:7:50: error: narrowing conversion of '128' from 'int'
to 'char' inside { } [-Wnarrowing]
0x20, 0x01, 0x40, 0x01, 0x80, 0x01, 0x00, 0x00};
^
bitmaps/left.xbm:7:50: error: narrowing conversion of '128' from 'int'
to 'char' inside { } [-Wnarrowing]
In file included from main.C:28:0:
bitmaps/right.xbm:7:50: error: narrowing conversion of '128' from
'int' to 'char' inside { } [-Wnarrowing]
0x80, 0x04, 0x80, 0x02, 0x80, 0x01, 0x00, 0x00};
^
bitmaps/right.xbm:7:50: error: narrowing conversion of '128' from
'int' to 'char' inside { } [-Wnarrowing]
bitmaps/right.xbm:7:50: error: narrowing conversion of '128' from
'int' to 'char' inside { } [-Wnarrowing]
<lots more of these!>
Hmm, using 8.0_BETA I don't get these warnings, perhaps it's
caused by new checks in the new compiler; 8.0_BETA has gcc 5.5.0.
And, well, I suspect the correct fix is more widspread use of
"unsigned char", since, indeed 0x80 == 128 isn't part of the
value range for signed char. However, that's likely to cause
cascading type changes... Is the packge being built with -Werror?