0
我在編制一個Vxworks6.8 C++代碼,我有以下錯誤C++在VxWorks的xlocale編譯錯誤
d:/windri~1/gnu/412-vx~1.8/lib/gcc/../../include/c++/4.1/xlocale: In function 'const _Facet& std::use_facet(const std::locale&) [with _Facet = std::ctype<char>]':
1>d:/WindRiver/gnu/4.1.2-vxworks-6.8/lib/gcc/../../include/c++/4.1/xlocale(1341) : error: instantiated from here
1>d:/WindRiver/gnu/4.1.2-vxworks-6.8/lib/gcc/../../include/c++/4.1/xlocale(316) : error: exception handling disabled, use -fexceptions to enable
面對我不知道爲什麼我上面的錯誤面對? C++中的哪些功能會調用上述錯誤中提到的use_facet?
我不知道如何解決上述錯誤,所以任何投入是值得歡迎的。感謝您的投入。 您的信息我不應該啓用例外。
你的代碼是什麼? – littleadv