Version française
Home     About     Download     Resources     Contact us    
Browse thread
Missing overflow exception message in ocamlopt
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Missing overflow exception message in ocamlopt
On Wednesday 11 October 2006 19:46, Jakob Lichtenberg wrote:
> When I compile the following program as byte code I see a stack overflow
> (expected).  When using ocamlopt it seems that the program dies and I do
> not see the expected overflow exception?

OCaml doesn't always throw the Stack_overflow exception from native code. On 
some systems it seg faults.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists