Tripcode decoder (696)

373 Name: Anonymous : 2008-03-28 23:08 ID:dXxfJtO/ [Del]

>>372
I'm not too familiar with c and I'm getting this error message when compiling trip.c:

>>warning: this decimal constant is unsigned only in ISO C90

which affects lines

>> z1=((z1&4294967294)<<18)^((((z1<<6)^z1)&UINT32_MAX)>>13);
>> z2=((z2&4294967288)<<2)^((((z2<<2)^z2)&UINT32_MAX)>>27);
>> z3=((z3&4294967280)<<7)^((((z3<<13)^z3)&UINT32_MAX)>>21);
>> z4=((z4&4294967168)<<13)^((((z4<<3)^z4)&UINT32_MAX)>>12);

Which seem to be declared by

>>static uint_fast32_t z1,z2,z3,z4;

I also get the error message

>> strcasestr undeclared

which affects the line

>>compare=cflag?&strstr:&strcasestr;

The regex version gets similar errors (though with more errors). The package in trippersrc compiles at least but does so with errors.

Any ideas on if I'm missing packages or something?

This thread has been closed. You cannot post in this thread any longer.