[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: KASSERTMSG fix
On Thu, Sep 08, 2011 at 02:42:18AM +0200, Jean-Yves Migeon wrote:
> Yep; the big downside with the fmt as string literal is that it can
> inflate the code by a good margin for no real purpose -- it creates a
> string for each KASSERTMSG().
Having the ability to specify the format string is why KASSERTMSG exists
in first place. If you have more than one instance of the same assertion
in a file, the compiler will merge the anonymous constants.
Main Index |
Thread Index |