[prev in list] [next in list] [prev in thread] [next in thread]
List: listar-support
Subject: [ESupp] Re: Ecartis compilation.
From: James Nord <teilo () teilo ! net>
Date: 2003-03-12 12:19:25
[Download RAW message or body]
JT wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Wed, 12 Mar 2003, Trish Lynch wrote:
>
>
>>>Hi all,
>>>
>>>I'm trying but failing to compile ecartis for Debian Linux (stable)
>>>PowerPC but fail compiling codes.c
>>>(ecartis-1.0.0-snap20030309.tar.gz)
>>>
>>>Anyone any ideas?
>>>
>>>gcc -Wall -Werror -I./inc -DGNU_STRFTIME -DDYNMOD -c codes.c
>>>cc1: warnings being treated as errors
>>>codes.c: In function `frombase64':
>>>codes.c:263: warning: comparison is always true due to limited range of
>>>data type
>>>make: *** [codes.o] Error 1
>>>
>>>(Please CC any replies to me as I'm not on the list)
>>>
>>>/James
>>>
>>>
>>>
>>Since we don;t test on PowerPC Linux, you can try and see if taking
>>-Werror out of the Makefile helps.
>>
>>
>
>It looks as if PowerPC linux's char type defaults to unsigned.
>Changing the defintion of index_64 from static char to static signed char
>should fix this. The code will NOT work as it stands since it relies on
>being able to compare against a -1.
>
>
That does it.. Compiles and seems to run OK.
Thanks,
/James
--
Ecartis Support Mailing List <ecartis-support@ecartis.org>
To unsubscribe:
<mailto:ecartis-support-request@ecartis.org?Subject=unsubscribe>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic