Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Strange error w/ Mlgraph.make_font
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Manos Renieris <er@c...>
Subject: Re: [Caml-list] Strange error w/ Mlgraph.make_font
On Sun, Jul 13, 2003 at 09:38:21PM -0600, Matt Gushee wrote:
> I have been doing some work with Mlgraph lately, and have noticed a
> problem with the make_font function:
> 
>   Exception: Failure "float_of_string".
> What's strange about this is that it's almost certain that anyone
> who tried to use MLgraph would have discovered this bug a long time
> ago, so I can only think that, once upon a time, it wasn't a bug, but
> something outside of Mlgraph changed to cause the error. For example:
> 
>   Older versions of OCaml had a float_of_string function that 
>   ignored trailing semicolons.
> 
> Anybody know what the real reason might be?

float_of_string used to ignore trailing characters, but not since 3.04.

http://camlcvs.inria.fr/cgi-bin/cvsweb.cgi/ocaml/byterun/floats.c.diff?r1=1.30&r2=1.31

-- Manos

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