[Tremor] void * handling

win dam windam_2000 at yahoo.com
Fri Sep 23 13:46:42 PDT 2005


Hi All,

I'm trying to compile using Visual C++.
In codebook.c, line 670:
    void *ptr=s->q_val+entry*s->q_pack;

The above line results in the error:
C2036: 'void *' : unknown size

q_val is void* so the compiler probably doesn't know
how much to increment the address.  I'm guessing that
it is incremented in byte units, ie if q_val is 0x100,
then q_val += 4 would be 0x104.  However, since I
don't know how the algorithm is supposed to work, I
can only guess.  If it is not in byte units, can
someone let me know?

Thanks.

-win




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Tremor mailing list