News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Exception Handling...Need Help Urgently

Started by rimita, January 20, 2017, 08:20:58 AM

Previous topic - Next topic

rimita

I am trying to run a BOOST server using C::B IDE. The code is getting compiled and run properly using g++ in terminal, but while running in C::B, it is giving an error...
In __cxa_throw () (/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
#2  0x0000000000413ffe in __gnu_cxx::new_allocator<s11n_example::stock>::allocate (this=0x7fffffffe2b8, __n=268435456) at /usr/include/c++/4.8/ext/new_allocator.h:104
/usr/include/c++/4.8/ext/new_allocator.h:104:3233:beg:0x413ffe
At /usr/include/c++/4.8/ext/new_allocator.h:104

The code is attached here..

BlueHazzard

#1
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

[Edit:] This looks like a crash and not a compiling problem?
Well then you have to search the reason in your code. Codeblocks has nothing to do with the executed code. You probably miss some compiler/linker parameter or use the wrong compiler....