Real Checko's Blog
8.02.2007
eVC - enable unwind : /GX option
在eVC中用了try...catch( )結果build時出現:
warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
這可糟糕,沒有unwide,可能會有memory leak...
所以要follow 他的instruction,手動在eVC 的 "Project -- Settings -- C/C++" 的 Project Options 加入 "/GX " 這個option。
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言