Closed DAP-DarkneSS closed 8 years ago
Looks like -Werror
parameter is used.
PowerPC has -funsigned-char
as default, so it is my BUG (I should respect it)
Fixed, now it uses qint8
which is signed char
.
Thank you!
:smiley: But I don't know how does QMPlay2 work on big-endian machines (not tested). Probably it'll be buggy - PPC (and ARM and MIPS) can be also big-endian.
Me too. Btw I am not really sure that openSUSE users have ppc64 desktops…
AFAIK ppc64 (big-endian) is in PlayStation3 (2 cores from Cell CPU) and ppc(big-endian; 32bit?) was on old Apple computers. But probably nobody uses big-endian + QMPlay2 :smiley:
openSUSE supports now ppc64 and ppc64le (little-endian). The latest is IBM
next generation servers arch afaik.
So ppc64
means big-endian. Maybe I'll try to compile it via qemu some day...
@DAP-DarkneSS New QMPlay2 uses CMake build system, Prostopleer can be disabled via CMake option.
Distro: openSUSE Factory Compiler: gcc6 Arch: ppc64 & ppc64le only. Build log: [ 127s] Rayman2.cpp: In function 'float decode(unsigned char, short int&, int&)': [ 127s] Rayman2.cpp:23:68: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] [ 127s] static const char ima_index_table[8] = {-1, -1, -1, -1, 2, 4, 6, 8}; [ 127s] ^ [ 127s] Rayman2.cpp:23:68: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] [ 127s] Rayman2.cpp:23:68: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] [ 127s] Rayman2.cpp:23:68: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]