From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giacomo Catenazzi To: pme@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: libstdc++/3026 Date: Wed, 06 Jun 2001 08:36:00 -0000 Message-id: <20010606153600.2324.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00199.html List-Id: The following reply was made to PR libstdc++/3026; it has been noted by GNATS. From: Giacomo Catenazzi To: pme@gcc.gnu.org Cc: bkoz@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/3026 Date: Wed, 06 Jun 2001 17:32:27 +0200 pme@gcc.gnu.org wrote: > > Egads. A bunch of problems conspiring together. > > On one hand, the c_std headers are being used, which are > known to be nonconforming in this respect. Replacing the > installed std_cstddef.h with the one from c_shadow solves > the initial 'size_t/ptrdiff_t not declared' problem. > > On the other hand, /usr/include/stdlib.h starts giving > parse errors due to its lack of knowledge about namespace > std and namespaces in general; unqualified use of 'size_t' > breaks in this case. > Ok, but there is also the main problem: why not to change also ::acosl into std::acosl (and this change for few other math functions) ? This should correct the error: /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) giacomo