Re: FW: 2.5.34: IR __FUNCTION__ breakage

From: Bjoern A. Zeeb (
Date: Fri Sep 20 2002 - 13:10:14 EST

On Fri, 20 Sep 2002, Jean Tourrilhes wrote:


> > Also, specifically relating to varargs macros as described above, you
> > can certainly have a varargs macro with zero args, just look at C99
> > varargs macros...
> I remember that it didn't work. Ok, I'll try again.

if I remember corretly with C99 if you do like this (simple

#define LOG(level, format, ...) \
                log(level, format, ##__VA_ARGS__);

you _need_ to give an argument:

        LOG(debug, "blah", 0);

w/o the ", 0" this is an error.

There have been gcc extentions that allow(ed) zero arguments.



Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:31 EST