There is already a typedef for cmd_func which is defined as a union of
function pointer types within the AP_HAVE_DESIGNATED_INITIALIZER #ifdef.
 I tried pulling it out of the #ifdef and replacing the the offending
cmd_func with the union, but that didn't seem to work either.

Brad

Brad Nicholes
Senior Software Engineer
Novell, Inc., the leading provider of Net business solutions
http://www.novell.com 

>>> [EMAIL PROTECTED] Friday, October 31, 2003 4:19:45 PM >>>
On Fri, Oct 31, 2003 at 10:12:56PM +0100, Sander Striker wrote:
> > From: Brad Nicholes [mailto:[EMAIL PROTECTED] 
> > Sent: Friday, October 31, 2003 9:53 PM
> 
> >    So what is the best way to resolve this?  Currently NetWare
won't
> > build.  It throws a compiler error in Metrowerks.  I can #ifdef it
based
> > on the compiler or is there a better way?
>  
> Revert.  I'll live with the warning.

Hm. That isn't ideal either. The problem is that we jam a bunch of
different types of functions into that one slot. The "ideal" is
probably a
union of function pointer types.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Reply via email to