I tried to compile the code using g ++ 4.4.6 on aix 6.1. I do not have gdb. After compilation, a segmentation error is displayed: -
../test/Corner.h: In member function 'void VirtualFlow<T>::vector_flow(typename T::Data**, typename T::Data**) [with T = NProcess<or_func<NetAndVal<ZVal2>, with_derivatives>, ConvexNoOverlapSize<16, 16, Multiply<65536l, AllPass<CornerT<NetAndVal<ZVal2> >, NoFlow<CornerT<NetAndVal<ZVal2> > > > > > >]': ../test/Corner.h:369: internal compiler error: Segmentation fault
I tried using the -g option to create the .o file and searched for the problem.
opt/freeware/bin/g++ -g ConnectFlow2.C -o ConnectFlow2.o
but I could not debug.
Tell us how to debug a segmentation error.
Thanks.
source share