> > > I'm getting compile error for DEBUG=1
> 
> > looks like the BUILD_BUG_ON_MSG does not work correctly with -O6 we use
> 
> Yeah, I'll probably just take the brute force approach Andi originally
> used and switch to BUILD_BUG_ON_MSG once we get it working in the tools/
> environment, i.e. using -O6, etc.

For new enough gcc you could use _Static_assert()

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to