EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   error C2872: 'cout' : ambiguous symbol (https://www.eqemulator.org/forums/showthread.php?t=3555)

Wiz 10-23-2002 06:57 AM

error C2872: 'cout' : ambiguous symbol
 
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

Re: error C2872: 'cout' : ambiguous symbol
 
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?

Quote:

Originally Posted by Wiz
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.

Quote:

Originally Posted by Wiz
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.

Quote:

Originally Posted by Wiz
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.


All times are GMT -4. The time now is 01:54 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.