This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C++ code (such as std::queue<>) won't throw any exceptions if c++ exception is set to not supported (default setting)

Other Parts Discussed in Thread: CC2650

CCS6.1

ARM Compile V5.1.11 for Tiva

ARM Compile V15.12.1LTS for CC2650

There is a compiling option --exception which enables C++ exception handling. By default it is not supported.

According to C++ standard, std::queue<>::push might throw exceptions if memory allocation fails. So if exception is not supported, what is the behaviour when an exception should be thrown?

Thanks