caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Roberto Bagnara <bagnara@cs.unipr.it>
To: caml-list <caml-list@inria.fr>
Subject: warning: deprecated conversion from string constant to ‘char*’
Date: Sat, 06 Sep 2008 16:20:50 +0200	[thread overview]
Message-ID: <48C291C2.4030104@cs.unipr.it> (raw)


Hi there,

I am seeing zillions of these warnings:

/tmp/camlprim89897a.c:2861: warning: deprecated conversion from string constant to ‘char*’

Apparently, they are due to the fact that the ocamlc-generated file
/tmp/camlprim89897a.c contains

the line

char * caml_names_of_builtin_cprim[] = {

instead of

const char * caml_names_of_builtin_cprim[] = {

All the best,

    Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@cs.unipr.it


                 reply	other threads:[~2008-09-06 14:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=48C291C2.4030104@cs.unipr.it \
    --to=bagnara@cs.unipr.it \
    --cc=caml-list@inria.fr \
    /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).