LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   gcc -fno-exceptions issue (https://www.linuxquestions.org/questions/linux-general-1/gcc-fno-exceptions-issue-825703/)

Manjunath1847 08-12-2010 12:42 AM

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


All times are GMT -5. The time now is 06:27 PM.