Re: Newbie: how to handle different prototypes?

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

 



Hi Paul,

* Paul Eggert wrote on Fri, Jun 24, 2005 at 02:22:11AM CEST:
> Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> writes:
> > * gnoop@xxxxxxx 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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux