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 <dougbaskins@yahoo.com>


From: john skaller <skaller@users.sourceforge.net>
To: Erick Tryzelaar <erick.tryzelaar@gmail.com>
Cc: felix <felix-language@lists.sourceforge.net>; Jason E. Aten <j.e.aten@gmail.com>; John Tromp <john.tromp@gmail.com>; judy <judy-devel@lists.sourceforge.net>; felix-impl <felix-impl@lists.sourceforge.net>; felix-language@googlegroups.com
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
skaller@users.sourceforge.net





------------------------------------------------------------------------------
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
Judy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/judy-devel