This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Memory!


Francisco Frutos writes:
 > ./rootfinder.c", line 175: warning: assignment type mismatch:
 >         pointer to function(pointer to const struct gsl_vector_struct
 > 
 > I don't know if that could create memory problems!

It's very likely to be the sign of a problem that would cause a
segmentation fault.  The prototypes of the functions in the assignment
should match correctly.

I don't know of any other tool which checks both the stack AND the
heap apart from checkergcc. There are libraries like Electric Fence
which check the heap only, but that doesn't always help.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]