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
|