[Pkg-ocaml-maint-commits] [approx] 04/12: Revert "handle String.create deprecation warning during transition to OCaml 4.02"

Eric Cooper ecc at cmu.edu
Thu Nov 24 18:04:17 UTC 2016


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

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

commit 4901cd7d8b8cbd4f333595df68b35285e977255c
Author: Eric Cooper <ecc at cmu.edu>
Date:   Wed Nov 16 14:12:12 2016 -0500

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

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