[Top][All Lists]

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

[Bug-gnulib] Re: gnulib/lib error.c

From: Paul Eggert
Subject: [Bug-gnulib] Re: gnulib/lib error.c
Date: 28 Sep 2003 11:25:24 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Jim Meyering <address@hidden> writes:

> I was tempted to remove all such casts from gnulib/lib, too,
> but wonder if it's worth the hassle for files that come from glibc.
> What do you think?

I asked Roland about this yesterday; no response yet.  He had
suggested that the casts from malloc were needed for C++ compilers
masquerading as C compilers.  But glibc itself contains many uses of
malloc without the cast.  So I'm not quite sure what the glibc policy
is right now.

Once I find out, though, and assuming they don't really need to
support compilers incompatible with C89, I'm willing to champion the
changes back into glibc.

reply via email to

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