Browse thread
warning:_deprecated_conversion_from_s tring_constant_to_‘char*’
- Roberto Bagnara
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Roberto Bagnara <bagnara@c...> |
| Subject: | warning:_deprecated_conversion_from_s tring_constant_to_‘char*’ |
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