caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "matthieu.dubuget@libertysurf.fr" <matthieu.dubuget@libertysurf.fr>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] Printf.sprintf and string_of_float
Date: Thu,  2 Oct 2003 16:16:09 +0200	[thread overview]
Message-ID: <HM4VMX$CAECAA847478B171DF969EDDE3025C0E@tiscali.fr> (raw)

Hello.

I'm still using Ocaml 3.06.

I have a C program calling Ocaml functions.
As soon as I introduce Printf.sprintf function,
for example with:

let unused_later = Printf.sprintf "string" () ;;

Everything compiles normally, but when I run the program,
I obtain a definitive :

L'instruction à "0x..." emploie l'adresse mémoire "0X...".
La mémoire ne peut être "read".

I have really no idea in which direction to investigate to
solve this problem. Any idea?

Thanks in advance

Matthieu Dubuget

********** L'ADSL A 20 EUR/MOIS********** 
Avec Tiscali, l'ADSL est à 20 EUR/mois. Vous pourrez chercher longtemps avant de trouver moins cher ! 
Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/
Offre soumise à conditions.


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


             reply	other threads:[~2003-10-02 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-02 14:16 matthieu.dubuget [this message]
     [not found] ` <3F7C3696.5090608@stratos-ad.com>
2003-10-02 14:53   ` Matthieu Dubuget

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='HM4VMX$CAECAA847478B171DF969EDDE3025C0E@tiscali.fr' \
    --to=matthieu.dubuget@libertysurf.fr \
    --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).