Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: e2studio with cc-rx memory exception

$
0
0
Hi I have problem with handling std::bad_alloc. I need tu use dynamic memory alocation so I am using try catch construction, but e2studio can't recognize __EDG_STD_NAMESPACE::bad_alloc try {              TestedDevice = new Transmitter(); }               catch(__EDG_STD_NAMESPACE::bad_alloc &er) {               er.what(); } I believe that there is option that should be set to let compiler recognize memory alocation exceptions

Viewing all articles
Browse latest Browse all 59170

Trending Articles