httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <stodd...@raleigh.ibm.com>
Subject Macros, bleh...
Date Thu, 29 Jul 1999 15:56:38 GMT
Working on the windows mpm and discovered that...

IMPLEMENT_HOOK_BASE(void,,,,name,args,args2,RUN_ALL,1,0,)

generates a warning with VC++ V5 "not enough actual parameters for macro
IMPLEMENT_HOOK_BASE". No suprise the expanded macro has all sorts of
syntax errors.

Then tried IMPLEMENT_HOOK_BASE(void,NULL,NULL, ...) and eliminated the
warning. Still tons of syntax errors in the expanded macro. 

Apparently passing null arguments lists in macros is not ANSI complient.
Any ideas?

-- 
Bill Stoddard
stoddard@raleigh.ibm.com

Mime
View raw message