[问题] tm_usage编译

楼主: eric1527 (我不想知道阿)   2014-04-30 11:21:26
助教你好:
请问如果我想在user_cmd.cpp使用tm_usage
除了在user_cmd.h中include"../lib/tm_usage.h"以外
在src里makefile的user_cmd.o : 后面加入../lib/tm_usage.h
还需要做什么吗?
每次编译到user_cmd.cpp宣告TmUsage都会说does not name a type
请问是什么问题?
谢谢
作者: ahpc82 (Ping)   2014-04-30 14:31:00
namespace?
楼主: eric1527 (我不想知道阿)   2014-04-30 16:01:00
std跟CommonNs都用了

Links booklink

Contact Us: admin [ a t ] ucptt.com