Open jbeich opened 5 years ago
Found on FreeBSD i386:
In file included from src/test_generator.cpp:10: src/./test.h:37:1: fatal error: static_assert failed static_assert(sizeof(TestCase) == 4312); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
Adding __attribute__((__packed__)) to TestCase definition makes sizeof output more predictable.
__attribute__((__packed__))
TestCase
sizeof
Found on FreeBSD i386: