[lkml]   [2007]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: macros: "do-while" versus "({ })" and a compile-time error
Robert P. J. Day wrote:
> what the above implies is
> that the ALIGN() macro can *never* be extended in that way because of
> the way it's being used in the struct definition above, outside of a
> function.
> doesn't that place an unnecessarily limit on what might be done with
> ALIGN() in the future?

The one occurrence which is different from others could be changed.

But more importantly: Don't overuse macros.
Stefan Richter
-=====-=-=== ---= -=-=-
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

 \ /
  Last update: 2007-01-10 20:07    [W:0.090 / U:2.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site