Enable fcarch assert checks even when FC_ARCHITECTURE is explicitly given
After all, if the asserts fail, the resulting library simply can't be working correctly.
This commit is contained in:
parent
a0638ff0c7
commit
b1630dc00e
|
@ -28,13 +28,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "fcint.h"
|
#include "fcint.h"
|
||||||
|
|
||||||
/* If architecture is hardcoded, skip the assert tests */
|
|
||||||
|
|
||||||
#ifndef FC_ARCHITECTURE
|
|
||||||
|
|
||||||
/* Make sure the cache structure is consistent with what we expect */
|
|
||||||
|
|
||||||
#include "fcarch.h"
|
#include "fcarch.h"
|
||||||
|
|
||||||
FC_ASSERT_STATIC (1 == sizeof (char));
|
FC_ASSERT_STATIC (1 == sizeof (char));
|
||||||
|
@ -62,8 +55,6 @@ FC_ASSERT_STATIC (0x08 + 2*SIZEOF_VOID_P == sizeof (FcPattern));
|
||||||
FC_ASSERT_STATIC (0x08 + 2*SIZEOF_VOID_P == sizeof (FcCharSet));
|
FC_ASSERT_STATIC (0x08 + 2*SIZEOF_VOID_P == sizeof (FcCharSet));
|
||||||
FC_ASSERT_STATIC (0x08 + 6*SIZEOF_VOID_P == sizeof (FcCache));
|
FC_ASSERT_STATIC (0x08 + 6*SIZEOF_VOID_P == sizeof (FcCache));
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc FC_UNUSED, char **argv FC_UNUSED)
|
main (int argc FC_UNUSED, char **argv FC_UNUSED)
|
||||||
|
|
Loading…
Reference in New Issue