举例说我定义了一个类classA,其中有一个方法Get(),在编译时出现如下的警告:LINK: warning LNK4049: locally defined symbol "" public: __thiscall classA::Get(void)(??classA@@QAE@XZ)" imported,这是由于什么引起的?会对程序造成什么样的影响?如何修正?请各位大侠指教,谢谢!

解决方案 »

  1.   

    This warning is displayed when the LINK warning level (set by the /WARN option) is greater than 1.
      

  2.   

    classA::Get()函数有问题!—————————————————————————————————
    ┏━★━━◆━━★━┓ 
    ♂欢|◢CSDN◣|使♂        ▲自由保存帖子,浏览,关注检测
    ┃迎|◥论坛助手◤|用┃        ▲完善的CSDN客户端工具
    ┗━☆━━◇━━━☆┛       ▲自动添加签名......让你更快,更爽,更方便地上CSDN...
    http://www.csdn.net/expert/topic/573/573604.xml
    http://www.chinaok.net/csdn/csdn.zip