this one fails on i386:

FAILED: src/teakra/src/CMakeFiles/teakra.dir/test_generator.cpp.o
/pobj/melonds-0.9.5/bin/c++ -DARCHITECTURE_x86=1 -DMELONDS_VERSION=\"0.9.5\" 
-I/pobj/melonds-0.9.5/melonDS-0.9.5/src/teakra/src/../include 
-I/pobj/melonds-0.9.5/melonDS-0.9.5/src/teakra/src/. -O2 -pipe -DNDEBUG 
-std=c++17 -flto=thin -fPIC -Wall -Wextra -Wcast-qual -pedantic 
-pedantic-errors -Wfatal-errors -Wno-missing-braces -Wno-unused-parameter 
-pthread -MD -MT src/teakra/src/CMakeFiles/teakra.dir/test_generator.cpp.o -MF 
src/teakra/src/CMakeFiles/teakra.dir/test_generator.cpp.o.d -o 
src/teakra/src/CMakeFiles/teakra.dir/test_generator.cpp.o -c 
/pobj/melonds-0.9.5/melonDS-0.9.5/src/teakra/src/test_generator.cpp
In file included from 
/pobj/melonds-0.9.5/melonDS-0.9.5/src/teakra/src/test_generator.cpp:10:
/pobj/melonds-0.9.5/melonDS-0.9.5/src/teakra/src/./test.h:37:1: fatal error: 
static assertion failed due to requirement 'sizeo
f(TestCase) == 4312'
static_assert(sizeof(TestCase) == 4312);
^             ~~~~~~~~~~~~~~~~~~~~~~~~
/pobj/melonds-0.9.5/melonDS-0.9.5/src/teakra/src/./test.h:37:32: note: 
expression evaluates to '4308 == 4312'
static_assert(sizeof(TestCase) == 4312);
              ~~~~~~~~~~~~~~~~~^~~~~~~
1 error generated.


I have no opinion whether it's worth fixing or just mark with some
NOT_FOR_ARCHS or ONLY_FOR_ARCHS (perhaps ONLY_FOR_ARCHS=${LP64_ARCHS}
if it's only really expected to work on 64-bit)

Reply via email to