[GCC-XML] Error: attempt to use poisoned "calloc"

Daniel J. Lauk dj at djlauk.de
Thu Jan 19 10:19:45 EST 2006


Hi there.

I tried to do a <code>char *foo = calloc(bar + 1, sizeof(char));</code> and 
that gave me this wonderful error message:
/path/to/file.c:123:45: error: attempt to use poisoned "calloc"

Has anybody an idea different from using a fixed size array?

Best regards,
DJ



More information about the gccxml mailing list