[ccan] BUILD_ASSERT macro

Stephen Cameron smcameron at yahoo.com
Wed May 18 23:19:14 EST 2011


I happened to be browsing include/linux/kernel.h, and noticed that BUILD_BUG_ON was changed a bit to handle some gcc 4.4 behavior differences.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7ef88ad561457c0346355dfd1f53e503ddfde719

Presumably BUILD_ASSERT could use similar changes.

Oh, hmmm.  Rusty is the committer on that change.  I guess you probably already knew about that then.

-- steve



More information about the ccan mailing list