Skip to content

Instantly share code, notes, and snippets.

@Pitometsu
Created July 10, 2019 06:48
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 Pitometsu/f26d1c76b798f827423dd271d8311432 to your computer and use it in GitHub Desktop.
Save Pitometsu/f26d1c76b798f827423dd271d8311432 to your computer and use it in GitHub Desktop.
https://github.com/jhjourdan/ocaml/archive/memprof_4.05.0.tar.gz | configure flags: -prefix /nix/store/r93bflfbwbx0azzpb31dydlc0ibqxvlx-ocaml+flambda+spacetime-4.05.0 -x11lib /nix/store/3fqq1jb9acjlidhs34h2llsic31xh6r2-x11env/lib -x11include /nix/store/3fqq1jb9acjlidhs34h2llsic31xh6r2-x11env/include -flambda -with-debug-runtime --statmemprof -wi…
In file included from caml/custom.h:23:0,
from minor_gc.c:19:
minor_gc.c: In function 'alloc_shr_minor':
minor_gc.c:189:54: error: 'old_header' undeclared (first use in this function); did you mean 'Make_header'?
CAML_ALLOC_EFFECT_NONE, Profinfo_hd(old_header));
^
caml/mlvalues.h:120:40: note: in definition of macro 'Profinfo_hd'
#define Profinfo_hd(hd) (((mlsize_t) ((hd) >> PROFINFO_SHIFT)) & PROFINFO_MASK)
^~
minor_gc.c:189:54: note: each undeclared identifier is reported only once for each function it appears in
CAML_ALLOC_EFFECT_NONE, Profinfo_hd(old_header));
^
caml/mlvalues.h:120:40: note: in definition of macro 'Profinfo_hd'
#define Profinfo_hd(hd) (((mlsize_t) ((hd) >> PROFINFO_SHIFT)) & PROFINFO_MASK)
^~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment