Messages in this thread |  | | Date | Wed, 20 Sep 2000 02:15:03 +0200 | From | "Andi Kleen" <> | Subject | Re: [PATCH] abuse of macros in swab.h |
| |
On Wed, Sep 20, 2000 at 01:58:32AM +0200, Martin Dalecki wrote: > Andrea Arcangeli wrote: > > > > On Wed, Sep 20, 2000 at 01:22:50AM +0200, Andi Kleen wrote: > > > Better would be to use statement blocks like > > > #define bla(x) ({ __u32 tmp__ = (x); ....; tmp__; }) > > > > Agreed. > > Not agreed. In this case older version of GCC will have > almost exactly the same provlems as with functions.
If they had they wouldn't be able to compile the linux kernel anyways (e.g. read asm-i386/uaccess.h)
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |