C++ Programming Error/Warning Analysis (2) extra qualification
C++ Programming Error/Warning Analysis (2) extra qualification
Author:柳大・Poechant(鐘超)Email:zhongchao.ustc#gmail.com (# -> @)
Blog:Blog.CSDN.net/Poechant
Date:May 9th, 2012
Explanation
例:
ヒント(g+):
これは通常、コードのコピーによって発生します.
Reference
http://hi.baidu.com/zjugator/blog/item/77bb6cec02bee22163d09f7d.html
-
柳大·Poechant:Blog.CSDN.net/Poechant
-
Author:柳大・Poechant(鐘超)Email:zhongchao.ustc#gmail.com (# -> @)
Blog:Blog.CSDN.net/Poechant
Date:May 9th, 2012
Explanation
例:
…
class Hello {
…
void Hello::hello();
…
};
…
ヒント(g+):
Hello.h:17: error: extra qualification 'Hello::' on member 'hello'
これは通常、コードのコピーによって発生します.
…
class Hello {
…
void hello();
…
};
…
Reference
http://hi.baidu.com/zjugator/blog/item/77bb6cec02bee22163d09f7d.html
-
柳大·Poechant:Blog.CSDN.net/Poechant
-