Opened 6 years ago
#57303 new defect
ocaml-ancient @0.9.0: incompatible pointer types initializing 'char *' with an expression of type 'header_t *'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | ocaml-ancient |
Description
gcc -g -fPIC -Wall -Werror -DOCAML_VERSION_MAJOR=4 -DOCAML_VERSION_MINOR=7 -I/opt/local/lib/ocaml -c -o ancient_c.o ancient_c.c ancient_c.c:208:9: error: incompatible pointer types initializing 'char *' with an expression of type 'header_t *' (aka 'unsigned long *') [-Werror,-Wincompatible-pointer-types] char *header = Hp_val (obj); ^ ~~~~~~~~~~~~ 1 error generated. make: *** [ancient_c.o] Error 1
It's also not UsingTheRightCompiler.
Note: See
TracTickets for help on using
tickets.