kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* BUILD_BUG_ON_ZERO
@ 2011-02-25 10:50 Zhang Meng
  2011-02-25 16:33 ` BUILD_BUG_ON_ZERO Dave Hylands
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang Meng @ 2011-02-25 10:50 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-26  1:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-25 10:50 BUILD_BUG_ON_ZERO Zhang Meng
2011-02-25 16:33 ` BUILD_BUG_ON_ZERO Dave Hylands
2011-02-26  1:14   ` BUILD_BUG_ON_ZERO Meng Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).