caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rich@annexia.org>
To: Leonardo Laguna Ruiz <modlfo@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Error when compiling 4.02.2 in centos
Date: Fri, 26 Jun 2015 21:26:49 +0100	[thread overview]
Message-ID: <20150626202649.GD31462@annexia.org> (raw)
In-Reply-To: <55895180.4080105@gmail.com>

On Tue, Jun 23, 2015 at 02:30:56PM +0200, Leonardo Laguna Ruiz wrote:
> Hi,
> 
> I'm trying to compile ocaml 4.02.2 in a computer with centos 6.6 using opam
> but I get the following error message:
> 
> 
> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -c -strict-sequence -w
> +27+32..39 -warn-error A -safe-string -I ../utils -I ../parsing -I ../typing
> -I ../bytecomp -I ../asmcomp -I ../driver -I ../toplevel objinfo.ml
> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -o objinfo
> ../compilerlibs/ocamlcommon.cma ../compilerlibs/ocamlbytecomp.cma
> ../asmcomp/printclambda.cmo objinfo.cmo
> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -c -strict-sequence -w
> +27+32..39 -warn-error A -safe-string -I ../utils -I ../parsing -I ../typing
> -I ../bytecomp -I ../asmcomp -I ../driver -I ../toplevel
> ../utils/warnings.ml
> File "../utils/warnings.ml", line 219, characters 6-7:
> Warning 27: unused variable c.
> File "../utils/warnings.ml", line 363, characters 20-25:
> Warning 27: unused variable slist.
> File "../utils/warnings.ml", line 1:
> *Error: Some fatal warnings were triggered (2 occurrences)*

Somehow you're using -warn-error A.  Maybe opam added that?

In any case I believe that the OCaml developers warn against turning
every warning into an error, although I cannot find where I read that.

Rich.

-- 
Richard Jones
Red Hat

  reply	other threads:[~2015-06-26 20:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23 12:30 Leonardo Laguna Ruiz
2015-06-26 20:26 ` Richard W.M. Jones [this message]
2015-06-29  6:30   ` Leonardo Laguna Ruiz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150626202649.GD31462@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    --cc=modlfo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).