egcs-2.91.66

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed May 3 23:51:00 GMT 2000


> No error message or warning was displayed

Thanks for your bug report. You did not provide full source code, so
it is hard to tell what was goind on. However, compiling

#include <stdlib.h>

int main()
{
  int dim=10;
  double *x=(double *)calloc(dim*sizeof(double));
}

with egcs 2.91.66, I get

a.c: In function `main':
a.c:6: too few arguments to function `calloc'

This is not just a warning; this is an error. How could you miss it?

Regards,
Martin


More information about the Gcc-bugs mailing list