Skip to content

Instantly share code, notes, and snippets.

@rightfold
Created August 12, 2015 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rightfold/603b66a516acf15d95c8 to your computer and use it in GitHub Desktop.
Save rightfold/603b66a516acf15d95c8 to your computer and use it in GitHub Desktop.
% tail -n2 vendor/MoarVM/Makefile 1 ↵
includes:
@echo $(CINCLUDES)
% clang++ -std=c++11 -W{all,extra,error,pedantic} src/main.cpp $(cd vendor/MoarVM && make includes | sed 's#-I#-isystem vendor/MoarVM/#g')
In file included from src/main.cpp:2:
In file included from vendor/MoarVM/src/moar.h:120:
vendor/MoarVM/src/6model/sc.h:131:5: error: assigning to 'MVMObject *' from incompatible type 'void *'
MVM_ASSIGN_REF(tc, &(sc->common.header), sc->body->root_codes, code_list);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/MoarVM/src/gc/wb.h:20:21: note: expanded from macro 'MVM_ASSIGN_REF'
update_addr = _r; \
^ ~~
1 error generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment