[Pkg-ocaml-maint-commits] [approx] 01/03: handle String.create deprecation warning during transition to OCaml 4.02

Eric Cooper ecc at cmu.edu
Sat Jun 20 17:51:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecc-guest pushed a commit to branch master
in repository approx.

commit a1259cb2a17cac9a52e4028fb0bbb6cfe29e9901
Author: Eric Cooper <ecc at cmu.edu>
Date:   Sat Jun 20 12:35:56 2015 -0400

    handle String.create deprecation warning during transition to OCaml 4.02
---
 Makefile | 5 +++--
 _tags    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 015a2f5..096eec5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
 # approx: proxy server for Debian archive files
-# Copyright (C) 2013  Eric C. Cooper <ecc at cmu.edu>
+# Copyright (C) 2015  Eric C. Cooper <ecc at cmu.edu>
 # Released under the GNU General Public License
 
 OCAMLBUILD := ocamlbuild
-OCAMLBUILD_OPTS := -classic-display
+# Don't fail on deprecation warning 3 during transition to OCaml 4.02
+OCAMLBUILD_OPTS := -classic-display -cflags -warn-error,A,-warn-error,-3
 
 TARGET := native
 
diff --git a/_tags b/_tags
index 6ff61e3..540a7c6 100644
--- a/_tags
+++ b/_tags
@@ -1,8 +1,9 @@
 # approx: proxy server for Debian archive files
-# Copyright (C) 2013  Eric C. Cooper <ecc at cmu.edu>
+# Copyright (C) 2015  Eric C. Cooper <ecc at cmu.edu>
 # Released under the GNU General Public License
 
-<**/*.{mli,ml}>: warn_error_A
+# Disable this during transition to OCaml 4.02 due to String.create deprecation
+#<**/*.{mli,ml}>: warn_error_A
 
 <approx.ml>: use_pcre, use_netstring, use_netcgi, use_nethttpd
 <config_file.ml>: use_pcre

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/approx.git



More information about the Pkg-ocaml-maint-commits mailing list