Hi,

On Jan 5, 2008 8:36 PM, Thorsten Haude <[EMAIL PROTECTED]> wrote:
> Hi,
>
> * Bert Wesarg wrote (2007-01-27 16:15):
> >+#define MacroVaApplyHook(doc, hook, ...) macroVaApplyHook(doc, hook, 
> >##__VA_ARGS__, NO_TAG)
>
> That's kinda C99; do you happen to know the gcc flag to turn off the
> warning?
Hmm, no! What warning gives GCC?

BTW: here is the C89 GNU extension for this:

http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Variadic-Macros.html

But this part of the patch isn't really needed, it is only a short cut
to pass arguments to the macro callback.

Bert
>
> Thorsten                                     Cornelius: Point Of View Point
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to