bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-idutils] A couple of issues building idutils 4.5 on HP-UX 11


From: Bruno Haible
Subject: Re: [bug-idutils] A couple of issues building idutils 4.5 on HP-UX 11
Date: Mon, 21 Jun 2010 11:13:38 +0200
User-agent: KMail/1.9.9

Hi Claudio,

> ... suggestion to remove the cast completely?

This suggestion would not help fixing the problem, because the problem was
that malloc and/or realloc were not declared, according to the compiler error
message.

> Or is that code used also in C++, where a cast might be necessary?

1. Yes, some gnulib modules are used in C++ mode, when people compile with
   CC=g++. (This is used in GNU clisp, for example.)
2. setenv.c is taken from glibc, and glibc's setenv.c contains this cast as
   well.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]