autoconf
[Top][All Lists]
Advanced

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

Re: More exit() troubles


From: Lars J. Aas
Subject: Re: More exit() troubles
Date: Thu, 18 Jan 2001 15:45:31 +0100
User-agent: Mutt/1.2.5i

On Thu, Jan 18, 2001 at 03:13:02PM +0100, Akim Demaille wrote:
: >>>>> "Alexandre" == Alexandre Oliva <address@hidden> writes:
: 
: Alexandre> On Jan 18, 2001, "Lars J. Aas" <address@hidden> wrote:
: >> I've attached a config.log that shows more problems with exit().
: 
: Alexandre> We should probably move the '' case first.  This will
: Alexandre> probably work with VC++, and will be fine for most existing
: Alexandre> C++ compilers.
: 
: Of course!!!  Great idea!!!
: 
: Lars, does it work as expected?  It works like a charm with g++:

It didn't do any difference for me, but it wasn't me who had the problem.
I'm waiting for feedback, if any, from the one who sent me the config.log.

I noticed that when I moved '' first, the first exit(42) test didn't
include <stdlib.h> - is that right?  I would assume we would want to
see if including <stdlib.h> was enough with the '' case, not that
exit() was implicitly prototyped by the compiler...

I've attached my config.log so you can see the route it took on my system.

  Lars J

Attachment: config.log
Description: Text document


reply via email to

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