Exceptions
main.cpp:34:42: error: exception handling disabled, use -fexceptions to enable
throw std::runtime_error("Some error");std::vector<int> v;
v.at(100) = 0;00015f60 <main>:
15f60: e92d4008 push {r3, lr}
15f64: e59f0000 ldr r0, [pc] ; 15f6c <main+0xc>
15f68: eb0000a8 bl 16210 <_ZSt20__throw_out_of_rangePKc>
15f6c: 00013868 andeq r3, r1, r8, ror #16main.cpp.o: In function `main':
main.cpp:(.text.startup+0x8): undefined reference to `std::__throw_out_of_range(char const*)'
collect2: error: ld returned 1 exit statusLast updated