[Ecls-list] latest CVS compile error Windows/VC
Peter Van Eynde
pvaneynd at mailworks.org
Tue Feb 27 12:15:49 UTC 2007
Hello,
On Tuesday 09 January 2007 07:43, Dean O'Connor wrote:
> juanjo
>
> Just checked out latest CVS.
> Seems that last the addition of the call to "GC_total_bytes" in
> src/c/alloc_2.d causes a compile error for Windows/VC.
I get the same error in Debian, I think I fixed it with
the following trivial patch:
$ bzr diff src/c/alloc_2.d
=== modified file 'src/c/alloc_2.d'
--- src/c/alloc_2.d 2007-02-15 10:26:55 +0000
+++ src/c/alloc_2.d 2007-02-26 13:57:19 +0000
@@ -336,7 +336,7 @@
unsigned integer will produce an smaller
integer.*/
static cl_index bytes = 0;
- cl_index new_bytes = GC_total_bytes();
+ cl_index new_bytes = GC_get_total_bytes();
if (bytes < new_bytes) {
cl_index wrapped;
wrapped = ~((cl_index)0) - bytes;
Groetjes, Peter
--
signature -at- pvaneynd.mailworks.org
http://www.livejournal.com/users/pvaneynd/
"God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson|
More information about the ecl-devel
mailing list