Rob Lahaye <[EMAIL PROTECTED]> writes:

| Lars Gullik Bj?nnes wrote:
>> Rob Lahaye <[EMAIL PROTECTED]> writes:
>> 
>> | Unless you tell me in more detail what your abort-preference
>> | actually implies. 
>> 
>> the "problem" with using assert is that it depends on defines: NDEBUG
>> in particular.
>> 
>> And what we really want anyway is a plain abort at this point.
>> 
>> So to just abort is just a way to bypass the outer shell of assert.
>
| OK, fine with me.
| But why "lyx::support::abort"? How does that differ from:

look in src/support/abort.C

As you see, not different at all... except that use of
lyx::support::abort will not change if ::abort is put in the std
namespace. (or anywhere else...)

>
|       #include <cstdlib>
|       [...]
|       abort();
>
>
| For me testing it, should I do something like:
>
|       #include <?what?>

lyxlib.h

|       [...]
|       lyx::support::abort();

right.

-- 
        Lgb

Reply via email to