Re: [bug-gnulib] Re: gcc 3.4.4 cast warnings?

2005-07-28 Thread Bruno Haible
> My first guess is that the module is wrongly being compiled as C++, > which does require the cast. A second guess is that the user is using "gcc -Werror". Which falls back on the user. Bruno ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lis

Re: gcc 3.4.4 cast warnings?

2005-07-28 Thread James Youngman
On Thu, Jul 28, 2005 at 03:27:20PM +0200, Oskar Liljeblad 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 th

gcc 3.4.4 cast warnings?

2005-07-28 Thread Oskar Liljeblad
A user of an application of mine claims that gcc 3.4.4 refuses to compile statements like this one from dirname.c: 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); This happened with gc