This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Have assert macros
On Tue, Aug 24, 2004 at 04:09:47PM -0700, Dale Johannesen wrote:
> On Aug 24, 2004, at 4:04 PM, Zack Weinberg wrote:
> >Dale Johannesen <dalej@apple.com> writes:
> >
> >>Redefining abort is undefined behavior in C89 (4.1.2.1, footnote 91).
> >>Of course we can switch to using gcc_abort, appropriately #define'd.
> >
> >We're already redefining abort.
>
> I didn't realize. If everyone is OK with that, I have no objection, but
> usually people prefer to be standard-conformant.
If Nathan's proposal goes in, this would probably be a good opportunity to
switch to gcc_abort, and potentially poison abort.
--
I have seen things you lusers would not believe. I've seen Sun monitors on
fire off the side of the multimedia lab. I've seen NTU lights glitter in the
dark near the Mail Gate. All these things will be lost in time, like the
root partition last week. Time to die... - Peter Gutmann, a.s.r.