File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
2+ version 0.6, March 23, 2018
3+ ---------------------------
24 o fixed compilation with OCaml 4.06 (using Bytes instead of String)
35 (contributed by haselwarter@github)
46
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ test.byte: $(CMA) $(TCMO)
117117test.opt : $(CMXA ) $(TCMX )
118118 $(OCAMLOPT ) $(INCLUDES ) -o $@ unix.cmxa $^
119119
120- VERSION =0.5
120+ VERSION =0.6
121121
122122version.ml : Makefile
123123 echo " let version = \" " $(VERSION ) " \" " > version.ml
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ OCAMLLIB=`$OCAMLC -v | tail -1 | cut -f 4 -d " "`
6565echo "ocaml library path is $OCAMLLIB"
6666
6767case $OCAMLVERSION in
68- 0.*|1.*|2.*|3.0* *)
69- AC_MSG_ERROR(Functory requires Ocaml version 3.10.0 or higher);;
68+ 0.*|1.*|2.*|3.*|4.00*|4.01 *)
69+ AC_MSG_ERROR(You need OCaml 4.02 or higher);;
7070esac
7171
7272
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ let create_sock_addr name port =
404404 let addr =
405405 try
406406 inet_addr_of_string name
407- with Failure "inet_addr_of_string" ->
407+ with Failure _ ->
408408 try
409409 (gethostbyname name).h_addr_list.(0 )
410410 with Not_found ->
You can’t perform that action at this time.
0 commit comments