Log in

View Full Version : error C2872: 'cout' : ambiguous symbol


Wiz
10-23-2002, 06:57 AM
The heck is this compilation error? It didn't appear until 0.3.9 or so, and for the 0.3.10 it's doing this with every god damn cout I have.

Would appreciate any help.

Zafar
10-23-2002, 07:25 AM
I compile 0.3.9 and 0.3.10 with absolutely no error on my end. Perhaps you're missing something or files are corrupted, maybe missing?


The heck is this compilation error? It didn't appear until 0.3.9 or so, and for the 0.3.10 it's doing this with every god damn cout I have.

Would appreciate any help.

Wiz
10-23-2002, 07:43 AM
It's my own code, largely - but most of these couts are remains from 0.3.8 or so (I integrate my code with new releases occasionally).

Also, not all couts are doing this, just the ones in entity.cpp and client_process.cpp - and they're perfectly identic to the ones in the working files.

Zafar
10-23-2002, 08:10 AM
What about the #include statements? Are they pointing to the right files? Just a suggestion, because I had that once and all I did was corrected the #include statements.


It's my own code, largely - but most of these couts are remains from 0.3.8 or so (I integrate my code with new releases occasionally).

Also, not all couts are doing this, just the ones in entity.cpp and client_process.cpp - and they're perfectly identic to the ones in the working files.

Wiz
10-23-2002, 08:18 AM
That worked. :) Thank you.

Zafar
10-23-2002, 11:00 AM
No problem.


That worked. :) Thank you.

curtdept
10-23-2002, 06:57 PM
Your namespaced couts (std::cout) was being redundantly referrenced with a non namespace cout. The namespacing standard was removed the last build.