This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gas configure cleanup


On Wed, Jul 20, 2005 at 11:50:21AM +0100, Nick Clifton wrote:
> Hi Daniel,
> 
> >I presume that the missing arguments are mostly to handle void * vs
> >char *; this is a pretty widespread difference of opinion.  The set
> >missing arguments in bfd/sysdep.h all look likely to be conflicted on
> >some platform.
> 
> I may be confused here, but I thought that we were talking about 
> providing prototypes for these system functions in the situation where 
> we cannot find definitions for them in a known system header files.  So 
> presumably in those situations it will not matter if the prototype that 
> we choose to supply does not match the actual system prototype since the 
> actual system header files will never be included.  (Of course it would 
> matter if the APIs of these functions differed between the prototype we 
> choose and the real system prototype, but I am assuming that "void *" vs 
> "char *" conflicts do not matter as far as the APIs are concerned).

Huh.  No, I think I'm the one who's confused - this makes good sense.
As long as we don't miss a definition in an odd location this ought to
work.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]