>>>>> "Liu" == Liu Kwong Ip <kiliu@stripped> writes:
Liu> Hi,
Liu> It is a problem to compile mysql 2.22.26a with big5 charset support. That is, I
Liu> tried,
>> ./configure --with-charset=big5
>> make
Liu> And there is error for conflicting types for 'my_like_range' with m_ctype.h in
Liu> ./libs/ctype-big5.lo
Liu> Thanks you for your attention.
hi!
Fix:
Change the prototype in include/m_ctype.h
from
extern my_bool my_like_range(const char *ptr,uint ptr_length,pchar escape,
uint res_length, char *min_str,char *max_str);
to
extern my_bool my_like_range(const char *ptr,uint ptr_length,pchar escape,
uint res_length, char *min_str,char *max_str,
uint *min_length,uint *max_length);
Regards,
Monty