-
Notifications
You must be signed in to change notification settings - Fork 36
Description
It complains like that:
rmmseg.cpp: In function ‘VALUE dic_load_chars(VALUE, VALUE)’:
rmmseg.cpp:39: error: ‘struct RString’ has no member named ‘ptr’
rmmseg.cpp: In function ‘VALUE dic_load_words(VALUE, VALUE)’:
rmmseg.cpp:54: error: ‘struct RString’ has no member named ‘ptr’
rmmseg.cpp: In function ‘VALUE dic_add(VALUE, VALUE, VALUE, VALUE)’:
rmmseg.cpp:73: error: ‘struct RString’ has no member named ‘ptr’
rmmseg.cpp:74: error: ‘struct RString’ has no member named ‘len’
rmmseg.cpp: In function ‘VALUE dic_has_word(VALUE, VALUE)’:
rmmseg.cpp:91: error: ‘struct RString’ has no member named ‘ptr’
rmmseg.cpp:92: error: ‘struct RString’ has no member named ‘len’
rmmseg.cpp: In function ‘VALUE tk_create(const char_, const rmmseg::Token&)’:
rmmseg.cpp:162: warning: implicit conversion shortens 64-bit value into a 32-bit value
rmmseg.cpp: In function ‘VALUE algor_create(VALUE, VALUE)’:
rmmseg.cpp:210: error: ‘struct RString’ has no member named ‘ptr’
rmmseg.cpp:211: error: ‘struct RString’ has no member named ‘len’
rmmseg.cpp: In function ‘VALUE algor_next_token(VALUE)’:
rmmseg.cpp:234: error: ‘struct RString’ has no member named ‘ptr’
make: *_* [rmmseg.o] Error 1
The patch below fix this problem
http://github.com/chevalun/rmmseg-cpp/commit/279bd6fdb6307b24068d343005cfbf918bba88d7