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

Jason Merrill jason@redhat.com
Wed Jan 23 15:49:00 GMT 2002


>>>>> "Joseph" == Joseph S Myers <jsm28@cam.ac.uk> writes:

> On Wed, 23 Jan 2002, Jason Merrill wrote:
>> 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.

> When usage of assert was previously discussed it was decided that abort
> should be used instead.  This policy and the link to the relevant message
> is in codingconventions.html.

OK, thanks.

Jason



More information about the Gcc-patches mailing list