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/  .  [email protected]

Reply via email to