[PATCH B1/2] Redefine assert to use its expression

Rich Felker dalias@libc.org
Mon Mar 2 23:33:00 GMT 2015


On Mon, Mar 02, 2015 at 03:23:21PM -0800, Roland McGrath wrote:
> > This change is non-conforming to the requirements of ISO C, which
> > state explicitly (C11 7.2p1):
> 
> You missed the part where this is only for libc-internal uses and
> has nothing to do with the installed <assert.h>.  Such confusion
> is why I'm inclined to use a new macro name instead.

Yes, I did. Sorry for the noise then. Actually I thought about that
after sending, but then I couldn't figure out from the context whether
it was internal or not so I figured I'd wait and see if anyone else
had something to say.

Rich



More information about the Libc-alpha mailing list