Ignore the alignment check for sfizz_arg_t, fails on old gcc 32bit
This commit is contained in:
parent
c03f39d526
commit
56dcb6de4b
1 changed files with 3 additions and 2 deletions
|
|
@ -11,9 +11,10 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
// ensure that `sfizz_arg_t` has the same storage characteristics as `int64_t`
|
// ensure that `sfizz_arg_t` has the same storage characteristics as `int64_t`
|
||||||
|
// Note(jpc) alignment checks fail on old gcc i386
|
||||||
static_assert(
|
static_assert(
|
||||||
sizeof(sfizz_arg_t) == sizeof(int64_t) &&
|
sizeof(sfizz_arg_t) == sizeof(int64_t) /* &&
|
||||||
alignof(sfizz_arg_t) == alignof(int64_t),
|
alignof(sfizz_arg_t) == alignof(int64_t) */,
|
||||||
"The ABI stability check has failed.");
|
"The ABI stability check has failed.");
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue