autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ fix and test


From: Alexandre Oliva
Subject: Re: C++ fix and test
Date: 21 Dec 2000 23:26:18 -0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

On Dec 20, 2000, Mo DeJong <address@hidden> wrote:

> I think the default should be to support working systems and
> then add workarounds for the "known broken" ones.

That's the reason why the first option in my list of alternatives to
get a declaration for exit() was `#include <stdlib.h>'.  If that
doesn't work, we get to look for a declaration of exit() that works
with it.

> Sure, you could go adding an exit() proto but you
> could also just leave it up to the user to include
> or not include <stdlib.h> in the test they write.

The problem is that there are a number of tests in autoconf that call
exit() regardless of what the user code is.  Since we need a solution
for these tests, why not make it general?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

[Prev in Thread] Current Thread [Next in Thread]