autoconf
[Top][All Lists]
Advanced

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

Re: Problem with exit() and new version of gcc.


From: Mo DeJong
Subject: Re: Problem with exit() and new version of gcc.
Date: Sun, 17 Dec 2000 14:00:43 -0800 (PST)

On Sun, 17 Dec 2000, Mo DeJong wrote:

> Hello.
> 
> I have run into an interesting little problem with
> a newer version of gcc and the CVS version of autoconf.
> 
> I am using an autoconf test that attempts to see if
> the new style C++ sytle includes can be used:

I thought I would mention that the version of gcc
delivered with Red Hat 7.0 has this same problem.

Here is the error I get with that compiler.

configure:2139: checking whether the compiler supports ISO C++ standard 
library
configure:2167: g++ -c -g  conftest.cc >&5
In file included from /usr/include/g++-3/stl_algobase.h:51,
                 from /usr/include/g++-3/stl_tree.h:57,
                 from /usr/include/g++-3/map:32,
                 from configure:2152:
/usr/include/stdlib.h:578: declaration of `void exit (int) throw ()' 
throws different exceptions
configure:2148: than previous declaration `void exit (int)'

 % g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)


Mo DeJong
Red Hat Inc



reply via email to

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