|
我看不懂错误提示,也不知道去哪里查
In file included from /home/zhu/test/src/order/order.h:6,
from /home/zhu/test/src/order/order.c:1:
/home/zhu/test/src/basic/identifier.h:18:7: warning: no newline at end of file
此程序如下:
#ifndef _IDENTIFIER_
#define _IDENTIFIER_
class Identifier {
public:
Identifier() { id=noName=0; };
const char *name() { return nameList[id]; };
void set(char *name);
void set(int id);
void set(const Identifier& ID);
int id;
protected:
char **nameList;
int noName;
};
#endif//好像是这里出错,但是为何有些文件不报错呢? |
|