Skip to content

Commit cd45cde

Browse files
committed
new release 0.6
fixed compilation with OCaml 4.06 now requires OCaml >= 4.02
1 parent 340a292 commit cd45cde

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ test.byte: $(CMA) $(TCMO)
117117
test.opt: $(CMXA) $(TCMX)
118118
$(OCAMLOPT) $(INCLUDES) -o $@ unix.cmxa $^
119119

120-
VERSION=0.5
120+
VERSION=0.6
121121

122122
version.ml: Makefile
123123
echo "let version = \""$(VERSION)"\"" > version.ml

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ OCAMLLIB=`$OCAMLC -v | tail -1 | cut -f 4 -d " "`
6565
echo "ocaml library path is $OCAMLLIB"
6666

6767
case $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);;
7070
esac
7171

7272

network.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 ->

0 commit comments

Comments
 (0)