missing prototypes in libstdc++-v3 (cmath)
Steven King
sxking@uswest.net
Thu May 11 05:05:00 GMT 2000
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
More information about the Libstdc++
mailing list