[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2009-04-17, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
> I think al_assert is misnamed, it should be something like
> al_report_and_abort - as you say, when that function is called, the
> assertion has already been tested and failed. I'm happy with the
> ASSERT macro and with the aborting part of al_assert, it's just the
> reporting bit. I could write an OS X version but what about the
> others, is
> fprintt(stderr, ...);
> abort();
> sufficient?
Yes.
Milan, do you remember why you put #ifndef ALLEGRO_MSVC around the
fprintf? The log message says nothing (r10806).
Peter