BUILD_BUG_ON_ZERO

Zhang Meng jammy.linux at gmail.com
Fri Feb 25 05:50:35 EST 2011


Hi ~List,

Could anybody explain the macro below? what does it mean?

Thanks in advance.

#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))


-- 
Yours sincerely
ZhangMeng



More information about the Kernelnewbies mailing list