zoukankan      html  css  js  c++  java
  • About cmt lint tools

    在我们目前的开发工作中,除了常用的cl编译器, 还有其它一些编译工具,cmt lint就是其中之一。
    Enviroment:
    Windows or Unix

    HighLight:
    Strict compiling  check items,which could help you to finger out many tiny errors , even in logical level.

    Example:

    char * pStr = null;
    pStr = CreateString(STRINGLENGTH);
    cout<<pStr;       
    // this expression could be passed under cl, but must cause 
    //error in lint because it coud be regarded as a potential 
    //risk that pStr could have null value; the correct expression
    //is : if(null!=pStr){cout <<pStr;    }
     

    So we can find that it's a helpful tool for us to write clean ,correct and reliable codes.
    Hope you enjoy it.





  • 相关阅读:
    记录我发现的第一个关于 Google 的 Bug
    iOS 中的 Delayed Transition
    Appstore|IPA
    地图|定位
    开发者账号
    App跳转
    国际化
    短信|彩信
    闪光灯
    Cornerstone|SVN
  • 原文地址:https://www.cnblogs.com/A1240/p/116357.html
Copyright © 2011-2022 走看看