autoconf-patches
[Top][All Lists]
Advanced

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

Re: 91-c++-exit-decl.patch


From: Alexandre Oliva
Subject: Re: 91-c++-exit-decl.patch
Date: 24 Dec 2000 01:41:46 -0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

On Dec 23, 2000, Akim Demaille <address@hidden> wrote:

> +   '#include <cstdlib>
> +#include <stdlib.h>' \
> +   '#include <cstdlib>' \
> +   '#include <stdlib.h>' \

I wouldn't worry about these.  The C++ Standard mandates the presence
of <stdlib.h>.  But, if you really care, we should make sure the
selected declaration of exit works with *all* ac_include
alternatives, not with just one of them.  I suggest moving the
ac_declaration loop out of that of ac_include, and breaking out of the
first loop in case some test fails, and breaking out of the second
loop if all tests pass.  But I'd limit the ac_include loop to just
<stdlib.h> and no-includes.  Unless we test for cstdlib first and
#include it conditionally.  I don't feel a need for that, though.

Thanks for taking the time of implementing this!

Merry Christmas!

-- 
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]