httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: cvs commit: httpd-2.0/modules/filters mod_include.c
Date Sun, 07 Jan 2001 15:32:00 GMT
Jeff Trawick wrote:
> 
> Greg Stein <gstein@lyra.org> writes:
> 
> > I thought that void* was compatible with all pointers (including func ptrs).
> > Dean posted a reply a bit ago that says otherwise (according to the specs,
> > and a couple demo cases he gave).
> >
> > So ignore me :-)
> 
> For better or for worse, I have a hard time ignoring you (which is why
> I looked into it further) :)  I wish I had a more thorough
> interpretation (or copy) of the spec.  My usually-reliable "Standard
> C" by Plauger & Brodie did not cover the issue.

Hmm. K&R2 explicitly says "Any pointer may be converted to type void *
without loss of information" (A6.8 Pointers to Void, p.199).

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

Mime
View raw message