public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/3026: namespace errors in <complext.h> and other .h
@ 2001-06-07 14:23 pme
0 siblings, 0 replies; 2+ messages in thread
From: pme @ 2001-06-07 14:23 UTC (permalink / raw)
To: cate, gcc-bugs, gcc-prs, pme
Synopsis: namespace errors in <complext.h> and other .h
State-Changed-From-To: analyzed->closed
State-Changed-By: pme
State-Changed-When: Thu Jun 7 14:23:57 2001
State-Changed-Why:
This seems to have been explained and worked through. The
only remaining issues are currently under heavy debate on
the libstdc++ list.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3026&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* libstdc++/3026: namespace errors in <complext.h> and other .h
@ 2001-06-01 3:36 cate
0 siblings, 0 replies; 2+ messages in thread
From: cate @ 2001-06-01 3:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 3026
>Category: libstdc++
>Synopsis: namespace errors in <complext.h> and other .h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Fri Jun 01 03:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Giacomo Catenazzi
>Release: gcc version 3.0 20010531 (prerelease)
>Organization:
>Environment:
(I used the gcc online compiler)
Reading specs from /usr/local/bin/../lib/gcc-lib/i386-pc-linux-gnu/3.0/specs
Configured with: ../configure --prefix=/tmp/gcc-20010531-root/usr/local --enable-shared --enable-threads --disable-checking i386-pc-linux-gnu
Thread model: posix
gcc version 3.0 20010531 (prerelease)
/usr/local/bin/../lib/gcc-lib/i386-pc-linux-gnu/3.0/cc1plus -v -iprefix /usr/local/bin/../lib/gcc-lib/i386-pc-linux-gnu/3.0/ -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ /usr/tmp/@10975.7.cc -D__GNUG__=3 -D_GNU_SOURCE -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase @10975.7.cc -version -o /tmp/ccP6Guhr.s
GNU CPP version 3.0 20010531 (prerelease) (cpplib) (i386 Linux/ELF)
GNU C++ version 3.0 20010531 (prerelease) (i386-pc-linux-gnu)
compiled by GNU C version 3.0 20010531 (prerelease).
>Description:
namespace foo {
#include <complex.h>
}
I find the following errors, caused mainly by use of ::foo instead of std::foo (and other small implementation error of templates)
In file included from /usr/local/include/g++-v3/bits/std_cstdlib.h:40,
from /usr/local/include/g++-v3/bits/std_cmath.h:40,
from /usr/local/include/g++-v3/bits/std_complex.h:43,
from /usr/local/include/g++-v3/backward/complex.h:32,
from /usr/tmp/@17861.7.cc:2:
/usr/local/include/g++-v3/bits/std_cstddef.h:44: `ptrdiff_t' not declared
/usr/local/include/g++-v3/bits/std_cstddef.h:45: `size_t' not declared
In file included from /usr/local/include/g++-v3/bits/std_cmath.h:40,
from /usr/local/include/g++-v3/bits/std_complex.h:43,
from /usr/local/include/g++-v3/backward/complex.h:32,
from /usr/tmp/@17861.7.cc:2:
/usr/local/include/g++-v3/bits/std_cstdlib.h:85: `div_t' not declared
/usr/local/include/g++-v3/bits/std_cstdlib.h:86: `ldiv_t' not declared
/usr/local/include/g++-v3/bits/std_cstdlib.h: In function `long int
foo::std::abs(long int)':
/usr/local/include/g++-v3/bits/std_cstdlib.h:122: `::labs' undeclared (first
use here)
/usr/local/include/g++-v3/bits/std_cstdlib.h: In function `foo::ldiv_t
foo::std::div(long int, long int)':
/usr/local/include/g++-v3/bits/std_cstdlib.h:125: `::ldiv' undeclared (first
use here)
/usr/local/include/g++-v3/bits/std_cstdlib.h: At global scope:
/usr/local/include/g++-v3/bits/std_cstdlib.h:131: `lldiv_t' not declared
/usr/local/include/g++-v3/bits/std_cstdlib.h:158: `lldiv_t' not declared
In file included from /usr/local/include/g++-v3/bits/std_complex.h:43,
from /usr/local/include/g++-v3/backward/complex.h:32,
from /usr/tmp/@17861.7.cc:2:
/usr/local/include/g++-v3/bits/std_cmath.h: In function `float
foo::std::acos(float)':
/usr/local/include/g++-v3/bits/std_cmath.h:111: `::acosf' undeclared (first use
here)
/usr/local/include/g++-v3/bits/std_cmath.h: In function `long double
foo::std::acos(long double)':
/usr/local/include/g++-v3/bits/std_cmath.h:121: `::acosl' undeclared (first use
here)
/usr/local/include/g++-v3/bits/std_cmath.h: In function `float
foo::std::asin(float)':
/usr/local/include/g++-v3/bits/std_cmath.h:131: `::asinf' undeclared (first use
here)
>How-To-Repeat:
namespace foo {
#include <complex.h>
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-07 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-07 14:23 libstdc++/3026: namespace errors in <complext.h> and other .h pme
-- strict thread matches above, loose matches on Subject: below --
2001-06-01 3:36 cate
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).