V
vfunc
I have a function "test" in a seperate file to main and a segmentation
fault seems to occur before the first line of the test function is
executed.
void test()
{
DEBUG_LOG("in test");
maca c;
....
}
I am guessing that there is something wrong with maca, which is an
class based on an array of another class which is also based on an
array. O(64x10000) elements altogether. Maybe I need to allocate some
memory in the compilation, or somewhere else ? I can post more details
if neccessary
fault seems to occur before the first line of the test function is
executed.
void test()
{
DEBUG_LOG("in test");
maca c;
....
}
I am guessing that there is something wrong with maca, which is an
class based on an array of another class which is also based on an
array. O(64x10000) elements altogether. Maybe I need to allocate some
memory in the compilation, or somewhere else ? I can post more details
if neccessary