- 论坛徽章:
- 0
|
[Compiling common/C_RegExp.cpp]
common/C_RegExp.cpp: In member function ‘char* C_RegExp::setSubString(char*, int, int)’:
common/C_RegExp.cpp:51: error: ‘memcpy’ was not declared in this scope
common/C_RegExp.cpp: In member function ‘char* C_RegExp::execute(char*)’:
common/C_RegExp.cpp:69: error: ‘memset’ was not declared in this scope
common/C_RegExp.cpp:79: error: ‘strstr’ was not declared in this scope
common/C_RegExp.cpp: In member function ‘int C_RegExp::execute(char*, int*, int*)’:
common/C_RegExp.cpp:131: error: ‘memset’ was not declared in this scope
common/C_RegExp.cpp:141: error: ‘strstr’ was not declared in this scope
common/C_RegExp.cpp: In member function ‘char* C_RegExp::execute(char*, int*)’:
common/C_RegExp.cpp:189: error: ‘memset’ was not declared in this scope
common/C_RegExp.cpp:199: error: ‘strstr’ was not declared in this scope
make[1]: *** [/home/olive/programs/seagull/work-1.8.1/C_RegExp.o] 错误 1
如图,一份c++代码,编译的时候,说没有memset ,strstr等api。
该怎么修改?
thanks。 |
|