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/metadata mod_headers.c
Date Tue, 05 Jun 2001 18:31:47 GMT
Greg Stein wrote:
> 
> On Mon, Jun 04, 2001 at 10:43:51AM -0000, trawick@apache.org wrote:
> > trawick     01/06/04 03:43:51
> >
> >   Modified:    modules/metadata mod_headers.c
> >   Log:
> >   void * isn't compatible with a function pointer; deal with retrieving a
> >   function pointer from apr_hash_get()
> 
> If it isn't compatible, then we can't store them into an apr_hash_t. There
> is a more basic problem than a simple cast.

I believe that strictly speaking you have to make a union of void * and
(void *)(). And there are platforms where it matters.

Did I ever mention that C++ and templates make these problems go away?
:-)

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