This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9924: [3.2/3.3/3.4 regression] Multiple using statements for builtin functions not allowed
- From: jason at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jason at gcc dot gnu dot org, yaqb at poczta dot neostrada dot pl
- Date: 11 Mar 2003 23:06:26 -0000
- Subject: Re: c++/9924: [3.2/3.3/3.4 regression] Multiple using statements for builtin functions not allowed
- Reply-to: jason at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jason at gcc dot gnu dot org, yaqb at poczta dot neostrada dot pl, gcc-gnats at gcc dot gnu dot org
Synopsis: [3.2/3.3/3.4 regression] Multiple using statements for builtin functions not allowed
State-Changed-From-To: analyzed->feedback
State-Changed-By: jason
State-Changed-When: Tue Mar 11 23:06:26 2003
State-Changed-Why:
I'm not convinced this is a bug. namespace std is reserved to
the implementation. Furthermore, if you fix the declaration
of llabs to
namespace NS {
extern "C" long long llabs(long long x);
}
namespace std {
using NS::llabs;
using NS::llabs;
}
the testcase compiles fine.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9924