John:

My latest version of Judy checks to see if it is being compiled in a
64 bit environment and sets the JU_64BIT macro.  Sorry I did not
do that in the released version.  I wish the compilers had a portable
way of testing for a 32/64 bit compile in the code. 


Good catch John Tromp.  I would of never found that one.



doug


Doug Baskins <[email protected]>



>________________________________
>From: john skaller <[email protected]>
>To: Erick Tryzelaar <[email protected]>
>Cc: felix <[email protected]>; Jason E. Aten 
><[email protected]>; John Tromp <[email protected]>; judy 
><[email protected]>; felix-impl 
><[email protected]>; [email protected]
>Sent: Sunday, October 30, 2011 10:32 PM
>Subject: Re: [Felix-language] [felix] JudySL problem
>
>
>On 31/10/2011, at 3:03 PM, john skaller wrote:
>
>> 
>> On 31/10/2011, at 1:44 PM, John Tromp wrote:
>> 
>>> hi John,
>>> 
>>>> Hmm .. what am I doing wrong here? This is a simple C program...
>>> 
>>> May be a problem with your Judy installation.
>> 
>> Yes. That seems likely (since we use our own build script written in Python).
>> 
>
>Yep .. its bugged: this code:
>
>    macros = [dstname.upper()]
>    if types.voidp.size == 8:
>        macros.append('JU_64BIT')
>    else:
>        macros.append('JU_32BIT')
>
>sets macros when building Judy1/JudyL but isn't invoked when building JudySL 
>and JudyHS.
>
>So JudySL and HS are built with default which I guess is 32 bits.
>
>--
>john skaller
>[email protected]
>
>
>
>
>
>------------------------------------------------------------------------------
>Get your Android app more play: Bring it to the BlackBerry PlayBook 
>in minutes. BlackBerry App World™ now supports Android™ Apps 
>for the BlackBerry&reg; PlayBook™. Discover just how easy and simple 
>it is! http://p.sf.net/sfu/android-dev2dev
>_______________________________________________
>Judy-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/judy-devel
>
>
>
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel

Reply via email to