Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: alloc_final() and alloc()
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1998-12-23 (14:27)
From: doligez@p...
Subject: Re: alloc_final() and alloc()

>From: Vincent BARAT <>

>So, I've discovered a problem with alloc(): it seems to return
>always the same address if it is used several times in the same function
>that contains also calls to alloc_final().
>Is it a known bug ? If not, am I missing something ?

It is possible if you're giving strange arguments to alloc_final,
in which case, it is not a bug.

If you could send the relevant piece of your code to
<> (which is the correct address for bug reports),
we should be able to tell what's going on.

-- Damien