lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [Lucy] Re: 64-bit linux errors with t/core/032-string_helper.t
Date Wed, 20 Jan 2010 14:56:35 GMT
Peter Karman wrote on 01/20/2010 07:43 AM:
> Nathan Kurz wrote on 1/20/10 1:35 AM:
> 
>> Could you attach your failing standalone test case so I can take a
>> quick look at it?  I tried the inline one above, but saw nothing
>> strange with GCC 4.2.4 on Slamd64.
>>
> 
> http://rectangular.com/pipermail/kinosearch/2010-January/007228.html
> 

although changing the main() function to this, and compiling with -O2,
still works ok, which makes me think Marvin's comment about the variadic
function printf() might be on target.

int main() {
    u8_t i, max;
    int j;
    for (j=0, i=0, max=255; i<max; i++, j++) {
        printf("[%d] TRAILING[%d] SKIP[%d]\n",
               j,
               (int)StrHelp_UTF8_TRAILING[i],
               (int)StrHelp_UTF8_SKIP[i]
        );
    }
}


-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message