色婷婷AⅤ一区二区三区|亚洲精品第一国产综合亚AV|久久精品官方网视频|日本28视频香蕉

          新聞中心

          EEPW首頁(yè) > 測(cè)試測(cè)量 > 設(shè)計(jì)應(yīng)用 > C++test在對(duì)Tornado 2.2-VxWorks-5.5 simulator 下

          C++test在對(duì)Tornado 2.2-VxWorks-5.5 simulator 下

          作者: 時(shí)間:2012-06-20 來(lái)源:網(wǎng)絡(luò) 收藏

          使用C++ 2.2--5.5 下針對(duì)CPP代碼做單元測(cè)試時(shí),出現(xiàn)不能獲取測(cè)試結(jié)果的問(wèn)題,反復(fù)偵測(cè)問(wèn)題的緣由,查看幫助文檔,終于在幫助文檔中找到如下一些說(shuō)明:

          本文引用地址:http://cafeforensic.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).

          幫助文檔中說(shuō)得很清楚,VxWorks5.5默認(rèn)的缺少C++特性支持,所以解決方案就是重新構(gòu)建一個(gè)支持C++特性的image,重新執(zhí)行即可。

          c++相關(guān)文章:c++教程




          關(guān)鍵詞: simulator Tornado VxWorks test

          評(píng)論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉