[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc 3.4.4 cast warnings?
From: |
James Youngman |
Subject: |
Re: gcc 3.4.4 cast warnings? |
Date: |
Thu, 28 Jul 2005 16:18:55 +0100 |
User-agent: |
Mutt/1.5.9i |
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 the module is wrongly being compiled as C++,
which does require the cast.
Regards,
James.