[C++ Patch] Change my_fancy_abort() to abort()

Jason Merrill jason@redhat.com
Wed Jan 23 11:19:00 GMT 2002


>>>>> "Craig" == Craig Rodrigues <rodrigc@mediaone.net> writes:

> On Wed, Jan 23, 2002 at 06:50:10PM +0000, Jason Merrill wrote:
>> OK.  Would you mind doing away with my_friendly_assert as well, while
>> you're at it?

> OK, just to make sure, will replacing my_friendly_assert() with
> just assert() be the way to go?

There doesn't seem to be a definition of assert in the compiler headers
like there is of abort.  Either provide one, or change the asserts to 
if (!cond) abort.  My preference would be the former, unless someone knows
of a reason not to.

Jason



More information about the Gcc-patches mailing list