This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove parameter names from libiberty.h
- From: Paul Schlie <schlie at comcast dot net>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>,<binutils at sources dot redhat dot com>,<gcc-patches at gcc dot gnu dot org>,<amodra at bigpond dot net dot au>,<dj at redhat dot com>,Ian Lance Taylor <ian at airs dot com>
- Date: Thu, 14 Apr 2005 11:21:47 -0400
- Subject: Remove parameter names from libiberty.h
> Kaveh R. Ghazi writes:
> As noted here:
> http://sourceware.org/ml/binutils/2005-04/msg00269.html
>
> The new f*open_unlocked function prototypes in libiberty.h are in
> conflict with binutils sources because one of the parameter names
> ("mode") gets defined to "31" and the build dies.
Why not alternatively fix the real problem (as you had noted), as opposed to
indirectly establishing the policy that libiberty prototypes don't include
parameter names (as it doesn't seem like the true solution to the problem).