caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* warning: deprecated conversion from string constant to ‘char*’
@ 2008-09-06 14:20 Roberto Bagnara
  0 siblings, 0 replies; only message in thread
From: Roberto Bagnara @ 2008-09-06 14:20 UTC (permalink / raw)
  To: caml-list


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-06 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-06 14:20 warning: deprecated conversion from string constant to ‘char*’ Roberto Bagnara

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).