Yop savonet people,

> Log Message:
> -----------
> Don't use record_backtrace for now to keep compatibility with OCaml < 3.11 
> (refs #264).

> -      Arg.Unit (fun () -> Printexc.record_backtrace true; Log.conf_level#set 
> (max 4 Log.conf_level#get)),
> +      Arg.Unit (fun () -> (* Printexc.record_backtrace true; *) 
> Log.conf_level#set (max 4 Log.conf_level#get)),

I was wondering...

It's a bit nasty but what about this trick?

let record_backtrace _ = ()
open Printexc
record_backtrace true

it would be even better with “open ... in ...” , but there is no stuff
like this in ocaml standard syntax, is there ?

Best,
Gim

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à