On Thursday, July 28, 2005 at 16:55, James Youngman wrote: > > > char *dir = xmalloc (length + append_dot + 1); > > or that it warned about it unless you change it to > > char *dir = (char *) xmalloc (length + append_dot + 1); > [...] > > Does anyone know more about this? > > My first guess is that the module is wrongly being compiled as C++, > which does require the cast.
He *was* compiling it using g++. Is there a GNU coding standard statement for 'void *' casts? If you look in the libc documentation you'll find casts for malloc in some places, some places not. Regards, Oskar Liljeblad ([EMAIL PROTECTED]) _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib