• <li id="00i08"><input id="00i08"></input></li>
  • <sup id="00i08"><tbody id="00i08"></tbody></sup>
    <abbr id="00i08"></abbr>
  • 新聞中心

    EEPW首頁 > 測試測量 > 設計應用 > C++test在對Tornado 2.2-VxWorks-5.5 simulator 下

    C++test在對Tornado 2.2-VxWorks-5.5 simulator 下

    作者: 時間:2012-06-20 來源:網絡 收藏

    使用C++ 2.2--5.5 下針對CPP代碼做單元測試時,出現不能獲取測試結果的問題,反復偵測問題的緣由,查看幫助文檔,終于在幫助文檔中找到如下一些說明:

    本文引用地址:http://www.czjhyjcfj.com/article/193703.htm

    The default build of -5.5 (%WIND_BASE%targetconfigsimpcvxWorks.exe; -2.2) doesn't contain enough C++ features to satisfy C++'s C++ instrumentation needs in its default mode. Thus, to C++ code, you either need to build your own VxSim image with scaled-up C++ support (we recommend using all C++ features except complex numbers; at minimum) or you need to add the -DCPPTEST_SPECIAL_STD_EXCEPTIONS_HANDLING_ENABLED=0 definition to the project compilation flags. This issue does not affect -5.4 (-2.0).

    幫助文檔中說得很清楚,VxWorks5.5默認的缺少C++特性支持,所以解決方案就是重新構建一個支持C++特性的image,重新執行即可。

    c++相關文章:c++教程




    評論


    相關推薦

    技術專區

    關閉
    主站蜘蛛池模板: 阳西县| 永州市| 鹤山市| 磴口县| 民勤县| 辽中县| 广宗县| 屯留县| 锡林浩特市| 布尔津县| 高阳县| 玛纳斯县| 古田县| 赣州市| 晋中市| 昌吉市| 林西县| 温宿县| 林西县| 志丹县| 康平县| 庆安县| 全南县| 香河县| 稷山县| 洱源县| 万盛区| 康马县| 大竹县| 固始县| 武鸣县| 海门市| 高州市| 玉林市| 乌兰察布市| 察雅县| 扎囊县| 娄烦县| 阳东县| 苍梧县| 建宁县|