[Pkg-libvirt-commits] [libguestfs] 10/266: ocaml: Ignore Warning 3: deprecated feature: String.* functions.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:31 UTC 2014


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

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit fe9d3f7a903741311cfd0ef0b82607be8ab923df
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Jul 15 16:41:18 2014 +0000

    ocaml: Ignore Warning 3: deprecated feature: String.* functions.
    
    In OCaml 4.02, the 'string' type can be made immutable.  All String.*
    functions that are concerned with creating or mutating strings now
    give a warning like this:
    
      Warning 3: deprecated feature: String.unsafe_set
    
    Disable this warning since we don't want to turn on immutable strings
    yet.
---
 builder/Makefile.am   | 2 +-
 customize/Makefile.am | 2 +-
 generator/Makefile.am | 2 +-
 mllib/Makefile.am     | 2 +-
 ocaml/Makefile.am     | 2 +-
 resize/Makefile.am    | 2 +-
 sparsify/Makefile.am  | 2 +-
 sysprep/Makefile.am   | 2 +-
 v2v/Makefile.am       | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/builder/Makefile.am b/builder/Makefile.am
index 0a74aa1..1c2206f 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -152,7 +152,7 @@ if HAVE_OCAML_PKG_GETTEXT
 OCAMLPACKAGES += -package gettext-stub
 endif
 
-OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX $(OCAMLPACKAGES)
+OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX-3 $(OCAMLPACKAGES)
 OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
 OCAMLCLIBS  = \
diff --git a/customize/Makefile.am b/customize/Makefile.am
index 80fceb3..d1cbc14 100644
--- a/customize/Makefile.am
+++ b/customize/Makefile.am
@@ -109,7 +109,7 @@ if HAVE_OCAML_PKG_GETTEXT
 OCAMLPACKAGES += -package gettext-stub
 endif
 
-OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX $(OCAMLPACKAGES)
+OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX-3 $(OCAMLPACKAGES)
 OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
 OCAMLCLIBS  = \
diff --git a/generator/Makefile.am b/generator/Makefile.am
index e66644c..3716c77 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -95,7 +95,7 @@ objects = \
 
 EXTRA_DIST = $(sources) files-generated.txt
 
-OCAMLCFLAGS = -warn-error CDEFLMPSUVYZX -I $(srcdir) -I . -package unix,str
+OCAMLCFLAGS = -warn-error CDEFLMPSUVYZX-3 -I $(srcdir) -I . -package unix,str
 
 noinst_PROGRAM = generator
 
diff --git a/mllib/Makefile.am b/mllib/Makefile.am
index 7c242fc..2528e72 100644
--- a/mllib/Makefile.am
+++ b/mllib/Makefile.am
@@ -89,7 +89,7 @@ if HAVE_OCAML_PKG_GETTEXT
 OCAMLPACKAGES += -package gettext-stub
 endif
 
-OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX $(OCAMLPACKAGES)
+OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX-3 $(OCAMLPACKAGES)
 OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
 OCAMLCLIBS  = \
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index ee5a241..8b9dcfa 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -37,7 +37,7 @@ CLEANFILES += t/*.cmi t/*.cmo t/*.cmx t/*.o t/*.a t/*.so
 
 if HAVE_OCAML
 
-OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX
+OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX-3
 OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
 noinst_DATA = mlguestfs.cma META
diff --git a/resize/Makefile.am b/resize/Makefile.am
index 4b049ab..91abeee 100644
--- a/resize/Makefile.am
+++ b/resize/Makefile.am
@@ -67,7 +67,7 @@ if HAVE_OCAML_PKG_GETTEXT
 OCAMLPACKAGES += -package gettext-stub
 endif
 
-OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX $(OCAMLPACKAGES)
+OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX-3 $(OCAMLPACKAGES)
 OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
 OCAMLCLIBS  = \
diff --git a/sparsify/Makefile.am b/sparsify/Makefile.am
index 7733dab..3dde57b 100644
--- a/sparsify/Makefile.am
+++ b/sparsify/Makefile.am
@@ -70,7 +70,7 @@ if HAVE_OCAML_PKG_GETTEXT
 OCAMLPACKAGES += -package gettext-stub
 endif
 
-OCAMLFLAGS = -g -warn-error CDEFLMPSUVYZX
+OCAMLFLAGS = -g -warn-error CDEFLMPSUVYZX-3
 
 if !HAVE_OCAMLOPT
 OBJECTS = $(BOBJECTS)
diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
index cc411cc..06eec86 100644
--- a/sysprep/Makefile.am
+++ b/sysprep/Makefile.am
@@ -125,7 +125,7 @@ if HAVE_OCAML_PKG_GETTEXT
 OCAMLPACKAGES += -package gettext-stub
 endif
 
-OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX $(OCAMLPACKAGES)
+OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX-3 $(OCAMLPACKAGES)
 OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
 OCAMLCLIBS  = \
diff --git a/v2v/Makefile.am b/v2v/Makefile.am
index a1dec52..a62e191 100644
--- a/v2v/Makefile.am
+++ b/v2v/Makefile.am
@@ -87,7 +87,7 @@ if HAVE_OCAML_PKG_GETTEXT
 OCAMLPACKAGES += -package gettext-stub
 endif
 
-OCAMLFLAGS = -g -warn-error CDEFLMPSUVYZX
+OCAMLFLAGS = -g -warn-error CDEFLMPSUVYZX-3
 
 if !HAVE_OCAMLOPT
 OBJECTS = $(BOBJECTS)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list