This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: missing prototypes in libstdc++-v3 (cmath)
- To: "Martin Reinecke" <martin at MPA-Garching dot MPG dot DE>,gcc-bugs at gcc dot gnu dot org,libstdc++ at sourceware dot cygnus dot com
- Subject: Re: missing prototypes in libstdc++-v3 (cmath)
- From: Steven King <sxking at uswest dot net>
- Date: Thu, 11 May 2000 04:50:07 -0700
- Organization: is the root of all evil
- References: <391A8FF0.5FE37081@mpa-garching.mpg.de>
- Reply-To: sxking at uswest dot net
On Thu, 11 May 2000, Martin Reinecke wrote:
>
> Hi,
>
> the current gcc CVS version with libstdc++-v3 enabled has problems compiling
> the following one-liner:
>
> #include <cmath>
>
> The command line and output is
>
> ~/tmp>/afs/mpa/data/martin/ugcc/bin/g++ -v -c -ansi -pedantic --save-temps test.cxx
This is because of the -ansi which restricts the set of visable symbols;
configure, however, doesnt use -ansi so when its determining what available it
sees much more. This is a general problem with the cname headers; the cname
headers have other problems as well (they do mention that they are
nonconforming). I have some patches that fix some of those other problems, but
not this one, I've holding off submitting them until they were a little more
polished.
--
Steven King
sxking@uswest.net