Created
November 24, 2016 08:08
-
-
Save timo/fbd1ccb77a5b067c51ae7117b23f931d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/6model/reprs/MVMArray.h:91:47: error: invalid type argument of ‘->’ (have ‘MVMArrayBody {aka union MVMArrayBody}’) | |
#define MVMARRAY_IN_SITU(BODY, REPRDATA) (BODY->in_situ.elems * REPRDATA->elem_size <= 192 && BODY->in_situ.elems > 0) | |
^ | |
src/6model/reprs/MVMArray.h:94:47: note: in expansion of macro ‘MVMARRAY_IN_SITU’ | |
#define MVMARRAY_SLOTS(BODY, REPRDATA, KIND) (MVMARRAY_IN_SITU(BODY, REPRDATA) ? &(BODY->in_situ.slots.KIND) : (BODY->regular.slots.KIND + BODY->regular.start)) | |
^ | |
src/6model/reprs/MVMArray.h:95:40: note: in expansion of macro ‘MVMARRAY_SLOTS’ | |
#define MVMARRAYO_SLOTS(OBJECT, KIND) (MVMARRAY_SLOTS(&(((MVMArray *)OBJECT)->body), (MVMArrayREPRData *)(STABLE(OBJECT)->REPR_data), KIND)) | |
^ | |
src/core/loadbytecode.c:49:24: note: in expansion of macro ‘MVMARRAYO_SLOTS’ | |
memcpy(data_start, MVMARRAYO_SLOTS(buf, u8), data_size); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment