[colm-users] Hardcoded word_t

Konstantin Podsvirov konstantin at podsvirov.pro
Mon Apr 30 15:34:20 UTC 2018


30.04.2018, 18:06, "Adrian Thurston" <thurston at colm.net>:
> Hi, yes would like to have this fixed at some point. Sorry no ETA at the moment.

But can you briefly describe what does each type code_t, word_t, half_t and what are the requirements in size and made to them.

> On 2018-04-29 12:53, Konstantin Podsvirov wrote:
>> Hello colm developers... :-)
>>
>> Currently the word_t is hardcoded in src/tree.h file as unsigned long type, bun used to store pointers too.
>>
>> On some platform (for example mingw64) size of the long (4 byte) less then size of the void* (8 byte).
>>
>> Previously i add check for this problem in CMake project file, but not provide any solution.
>>
>> What you think about this?
>>
>> --
>> Regards,
>> Konstantin Podsvirov
>>
>> _______________________________________________ colm-users mailing list colm-users at colm.net http://www.colm.net/cgi-bin/mailman/listinfo/colm-users
> ,
>
> _______________________________________________
> colm-users mailing list
> colm-users at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/colm-users

--
Regards,
Konstantin Podsvirov



More information about the colm-users mailing list