Re: verbose BUG_ON reporting

Pekka J Enberg
2005-06-27T14:51:28Z

Andi Kleen writes:
> It's still useless - it is too bloated to turn on by default
> and then if you need it you still won't have it. And when you
> explicitely turn it on then you likely don't need it because
> you control the source.

Hmm. Would a BUG_ON_WITH_TEXT be a better solution? The home-grown assert
macro in reiser4 can't be a long-term solution if people really want this
kind of functionality. Btw, the bloat argument applies to assertion codes
too.

Pekka