Martin Minkler <minkler@xmailer.informatik.uni-bonn.de> writes: ... > to quote the wrong code: "x=(double *)calloc(dim*sizeof(double));" > No error message or warning was displayed, ... The second value is not optional. Did you include <stdlib.h>? Do you use -Wmissing-prototypes? (There are lots of other -W flags you might consider.) -- - Geoffrey Keating <geoffk@cygnus.com>