[PPL-devel] [GIT] ppl/ppl(master): Avoid annoying warnings caused by internal OCaml C code.

Enea Zaffanella zaffanella at cs.unipr.it
Mon Jul 11 16:13:16 CEST 2011


Module: ppl/ppl
Branch: master
Commit: 30a81801ecdbaaef5842bca21c4982e035c3009b
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=30a81801ecdbaaef5842bca21c4982e035c3009b

Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date:   Mon Jul 11 16:12:30 2011 +0200

Avoid annoying warnings caused by internal OCaml C code.

---

 interfaces/OCaml/Makefile.am       |    2 +-
 interfaces/OCaml/tests/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interfaces/OCaml/Makefile.am b/interfaces/OCaml/Makefile.am
index c0c5ac7..8a31c64 100644
--- a/interfaces/OCaml/Makefile.am
+++ b/interfaces/OCaml/Makefile.am
@@ -167,7 +167,7 @@ libppl_ocaml_a_DEPENDENCIES = \
 OCAMLC_ENV = OCAMLRUNPARAM='l=1M'
 
 OCAMLC_COMPILE_FLAGS = \
--I @mlgmp_dir@ -I .. -ccopt -g
+-I @mlgmp_dir@ -I .. -ccopt -g -ccopt -Wno-write-strings
 
 OCAMLC_LINK_FLAGS = \
 `echo " $(extra_libraries) " | $(SED) -e "s/ -R[^ ]*//g" -e "s/ -/ -cclib -/g"`
diff --git a/interfaces/OCaml/tests/Makefile.am b/interfaces/OCaml/tests/Makefile.am
index 9cd317c..19f385f 100644
--- a/interfaces/OCaml/tests/Makefile.am
+++ b/interfaces/OCaml/tests/Makefile.am
@@ -60,7 +60,7 @@ ppl_ocaml_tests_common
 OCAMLC_ENV = OCAMLRUNPARAM='l=1M'
 
 OCAMLC_COMPILE_FLAGS = \
--I @mlgmp_dir@ -I .. -ccopt -g
+-I @mlgmp_dir@ -I .. -ccopt -g -ccopt -Wno-write-strings
 
 OCAMLC_LINK_FLAGS = \
 -cclib -lmlgmp -cclib -lmpfr \




More information about the PPL-devel mailing list