Closed gudnimg closed 1 year ago
static_assert(sizeof(ChopConfU::S) == 4) would return 5 == 4 static_assert(sizeof(ChopConfU) == 4); would return 8 == 4
@vintagepc helped me resolve this: using uint32_t on all types instead of uint8_t fixes the issue
uint32_t
uint8_t
I stumpled on this issue when trying to run the unit tests locally on Windows using GCC 12.2.0
No change in memory
static_assert(sizeof(ChopConfU::S) == 4) would return 5 == 4 static_assert(sizeof(ChopConfU) == 4); would return 8 == 4
@vintagepc helped me resolve this: using
uint32_t
on all types instead ofuint8_t
fixes the issueI stumpled on this issue when trying to run the unit tests locally on Windows using GCC 12.2.0
No change in memory