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

On Dec 20, 2000, Assar Westerlund <address@hidden> wrote:

> Alexandre Oliva <address@hidden> writes:
>> On Dec 20, 2000, Akim Demaille <address@hidden> wrote:
>> 
>> > Why do you want to try without stdlib.h?
>> 
>> Because stdlib.h may not be safe for multiple inclusion, and the
>> user test may already #include it.

> IIRC, Standard C says that all header files should be
> multiple-inclusion safe.  It seems reasonable to be able to assume it
> holds with common C++ compilers too, doesn't it?

There are OSs that whose stdlib.h isn't safe for multiple inclusion,
and g++, for one, won't override the system's stdlib.h, so, yes, there
are C++ compilers with broken headers, and I don't think providing
minimal support for running tests with such compilers is doing way too
much.  I've already explained the solution.  Now it's just a matter of
coding a few lines of shell to make it true.  I may eventually get to
do it, but if people are in a hurry to get a new snapshot out, I may
not be able to make it.  I just wouldn't like to see a release of
autoconf going out without minimal support for g++ on a number of OSs
out there.

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