[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Compile problem with LibXML 2.4.5
- From: Bjorn Reese <breese mail1 stofanet dk>
- To: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] Compile problem with LibXML 2.4.5
- Date: Sat, 29 Sep 2001 10:49:24 +0000
Bjorn Reese wrote:
> Manuel Barros wrote:
> > Error : number is out of range
> > trionan.c line 140 static CONST double internalEndianMagic =
> > 1.4015997730788920e-309;
I think I've found a solution. Try to replace the following two lines
in trionan.c
#define TRIO_DOUBLE_INDEX(x) (((unsigned char *)&internalEndianMagic)[(x)])
static TRIO_CONST double internalEndianMagic = 1.4015997730788920e-309;
with
#define TRIO_DOUBLE_INDEX(x) (((unsigned char *)&internalEndianMagic)[7-(x)])
static TRIO_CONST double internalEndianMagic = 7.949928895127363e-275;
(Please use cut'n'paste to make sure you aren't missing anything)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]