Re: [PATCH 5/5 ver2] debug: BUILD_BUG_ON: error on non-const expressions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Beulich
Date: Wednesday, September 3, 2008 - 3:19 am

>>> Boaz Harrosh <bharrosh@panasas.com> 03.09.08 10:57 >>>

I'm sorry to repeat this: If x is #define-d to anything but a simple identifier,
this will break no matter that it's in a private scope. The absence of any
identifier was a benefit of the sizeof() approach here.

Jan

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/5] net/niu: Fix none-const BUILD_BUG_ON usage, Boaz Harrosh, (Mon Sep 1, 6:11 am)
[PATCH 3/5] virtio: Fix none-const BUILD_BUG_ON usage, Boaz Harrosh, (Mon Sep 1, 6:13 am)
Re: [PATCH 5/5 ver2] debug: BUILD_BUG_ON: error on non-con ..., Jan Beulich, (Wed Sep 3, 3:19 am)