gcc -fno-exceptions issue
Since my application runs on the embedded environment, I am trying to build by binary with exception disabled. Also I am not using any try catch in my application. But when I try to build my application using -fno-exceptions flag I get following error. I am compiling my application in in QNX OS
/usr/qnx641/target/qnx6/usr/include/cpp/xlocale: In function 'const _Facet& std::use_facet(const std::locale&) [with _Facet = std::ctype<char>]':
/usr/qnx641/target/qnx6/usr/include/cpp/xlocale:1341: instantiated from here
/usr/qnx641/target/qnx6/usr/include/cpp/xlocale:329: error: exception handling disabled, use -fexceptions to enable
Last edited by Manjunath1847; 08-12-2010 at 04:55 AM.
|