[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64 bits and CDuce (was: Re: [Demexp-dev] Swedish party to use demexp?)
From: |
David MENTRE |
Subject: |
64 bits and CDuce (was: Re: [Demexp-dev] Swedish party to use demexp?) |
Date: |
Mon, 2 Oct 2006 15:34:30 +0200 |
Hi Ketty,
[ I'm keeping demexp-dev@ in copy for all things related to developments. ]
2006/10/2, ketty . <address@hidden>:
> Could you send to the mailing list the patch of modification you have
> made to make it work on 64 bits arch?
changeset: 415:24ff6e0526d2
user: address@hidden
date: Thu Sep 28 10:23:00 2006 +0200
summary: Change srv/xml.cd.nw to compile on 64bit and break(!) 32bit
diff -r 53731f476b84 -r 24ff6e0526d2 srv/xml.cd.nw
--- a/srv/xml.cd.nw Tue Sep 26 22:11:51 2006 +0200
+++ b/srv/xml.cd.nw Thu Sep 28 10:23:00 2006 +0200
@@ -81,7 +81,8 @@ limited scale, while XML ones ([[Xml_int
\nextchunklabel{code:cduce-ocaml-data-type}
<<xml.cd>>=
-type Ocaml_int = -1073741824 -- 1073741823 ;;
+(*type Ocaml_int = -1073741824 -- 1073741823 ;;*) (* 32bit *)
+type Ocaml_int = -4611686018427387904 -- 4611686018427387903 ;; (* 64bit
*)
type Ocaml_string = Latin1 ;;
type Ocaml_timestamp = Ocaml_string ;;
type Ocaml_kind = `Individual | `Delegate ;;
Does it break the software if you keep the old definition? In that
case, what is the error message?
Best wishes,
d.
- 64 bits and CDuce (was: Re: [Demexp-dev] Swedish party to use demexp?),
David MENTRE <=