Hi,
I'm working on a homebrew project written in C++
At some point, the app crashes and on real hardware it's saying:
"terminate called after throwing an instance of 'std::bad_alloc' terminate called recursively"
So i tried to simply wrap a try-catch around some lines of code
but i can't compile it anymore.
I've changed
to
in my project makefile, and also for ctrulib and i've recomplied everything,
but i still get the same error during linking:
Can anybody help me please?
I'm working on a homebrew project written in C++
At some point, the app crashes and on real hardware it's saying:
"terminate called after throwing an instance of 'std::bad_alloc' terminate called recursively"
So i tried to simply wrap a try-catch around some lines of code
but i can't compile it anymore.
I've changed
Code:
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
Code:
CXXFLAGS := $(CFLAGS) -fno-rtti -std=gnu++11
but i still get the same error during linking:
Code:
linking template.elf
11621045 relSymAddr=00CBBF2D relSrcAddr=001AB684 topAddr=001C0000
Relocation to invalid address!
Can anybody help me please?