[C++ PATCH] Fix extern "C" function and namespace handling

brent verner brent@rcfile.org
Sun Oct 8 20:10:00 GMT 2000


On 08 Oct 2000 at 18:45 (-0700), Kriang Lerdsuwanakij wrote:
| 
| On Sun, 8 Oct 2000, brent verner wrote:
| 
| > no, that was just a bad paste, sorry. your compiler doesn't error
| > on the following line?
| > 
| > | > using std::abs;      // error
| > 
| > the line above results in the following error for me.
| > n.cc:8: `abs' is already declared in this scope
| 
| No, mine doesn't produce any error.  I'll verify if both patches are
| correctly applied.  

could you try compiling with

  g++ -g -O2 -Wall -fbuiltin

I just updated cvs, applied these two patches, and I still see the
error.

thanks.
  brent
  
-- 
All opinions expressed are My own, unless otherwise attributed. In
presenting facts, I expressly reserve the right to be Wrong. Portions
of this message authored by Me are subject to the Free Thought License.


More information about the Gcc-patches mailing list