Mike Frysinger wrote:
> GCC-2.x has a bug with empty arg expansion in macros.

>               if (lvl <= DEBUG) { \
> -                     fprintf(stderr, "%s:%i: " fmt, __func__, __LINE__, ## 
> args); \
> +                     fprintf(stderr, "%s:%i: " fmt, __func__, __LINE__ , ## 
> args); \
>                       fflush(stderr); \

Assuming it's what it looks like, it's not a GCC-2.x bug, it's the old
GCC varargs behavior, which was documented and behaved like that since
very old versions of GCC.

You may wish to change the description if you submit it again.

If GCC 2.x support is still desired, this ought to be an easy thing to
grep for (comma followed by ##) and add to checkpatch.pl.

-- Jamie
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to