[Top][All Lists]

[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: 20 Dec 2000 14:02:30 -0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

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

>>>>>> "Alexandre" == Alexandre Oliva <address@hidden> writes:

Alexandre> If we provide a declaration of exit(int) compatible with
Alexandre> that of stdlib.h, we'll be fine.

> Why do we try to prototype exit?  I'm lost.

Because in C++ you can't call a function without a prior declaration.

> I mean, sure there is the std:: stuff, but we can test for `using
> std;' and just do that

Nope.  That would change a lot in the results of tests, so the user
would be forced to `using std' too otherwise s/he might run into
differences between the tested behavior and that observed by his

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  address@hidden,}
CS PhD student at IC-Unicamp        address@hidden,}
Free Software Evangelist    *Please* write to mailing lists, not to me

reply via email to

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