Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] perplexing marshaling exception
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] perplexing marshaling exception
> 
> Hello, I've replicated this mysterious behaviour in a small, simple
> example. Interestingly, the problem pops up for values with Custom_tag,
> but not for unboxed, String_tag, or whatever bools are:

You found a bug in the "ocamlc -output-obj" machinery.  The trivial patch
below (for file byterun/startup.c) fixes it.

- Xavier Leroy

--- startup.c   2002/09/03 13:56:36     1.55
+++ startup.c   2003/06/01 15:57:34
@@ -420,6 +420,7 @@
   value res;
 
   init_ieee_floats();
+  init_custom_operations();
 #ifdef DEBUG
   verb_gc = 63;
 #endif

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