这是在编译 scim-tables-0.5.7 的时候给的中断提示:
scim_generic_table.h: In constructor `GenericTableContent::CharBitMask::CharBitMask()':
scim_generic_table.h:374: error: `memset' was not declared in this scope
scim_generic_table.h: In member function `void GenericTableContent::CharBitMask::clear()':
scim_generic_table.h:386: error: `memset' was not declared in this scope
scim_generic_table.h: In copy constructor `GenericTableContent::KeyBitMask::KeyBitMask(const GenericTableContent::KeyBitMask&)':
scim_generic_table.h:401: error: `memcpy' was not declared in this scope
google了一下,找到了办法,在src/scim_generic_table.h中的#include加上一行:
#include
再编译,就通过了。
阅读(12840) | 评论(0) | 转发(0) |