This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: missing prototypes in libstdc++-v3 (cmath)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]