autoconf
[Top][All Lists]
Advanced

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

Re: Newbie: how to handle different prototypes?


From: Ralf Wildenhues
Subject: Re: Newbie: how to handle different prototypes?
Date: Fri, 24 Jun 2005 08:07:16 +0200
User-agent: Mutt/1.4.1i

Hi Paul,

* Paul Eggert wrote on Fri, Jun 24, 2005 at 02:22:11AM CEST:
> Ralf Wildenhues <address@hidden> writes:
> > * address@hidden wrote on Wed, Jun 22, 2005 at 10:17:02PM CEST:
> >> For example, on linux the scandir prototype is:
*snip*
> >> 
> >> I.e. the const is missing from darwin's 3rd parameter.
> >
> > Can't you just ignore this difference in your program?  If you pass a
> > select function which eats a const argument, you are within ANSI C
> > bounds in either case.
> 
> Sorry, that won't work in general.
*snip nice explanations*

OK.  Thanks for the explanations.  My memory made me falsely believe
otherwise.

Regards,
Ralf




reply via email to

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