HI,
I recently tried to compile a project, which links to another project. If I build these two projects independently, there is no problem at all. However, if I tried to build them together: namely, linking one to the other. Then I got the following compilation error:
(Here is just a sample of the error msg)
***********************************************************
c:\program files\microsoft visual studio\vc98\include\ios.h(160) : error C2872: 'ostream' : ambiguous symbol
c:\program files\microsoft visual studio\vc98\include\ios.h(180) : error C2872: 'streambuf' : ambiguous symbol
c:\program files\microsoft visual studio\vc98\include\ios.h(207) : error C2872: 'streambuf' : ambiguous symbol
c:\program files\microsoft visual studio\vc98\include\ios.h(210) : error C2872: 'streambuf' : ambiguous symbol
***********************************************************
close inspection on the error msg shows that its those Visucal C++ header files that are picked for the error. So I am just wondering what does this imply?
Thanks in advance,
I recently tried to compile a project, which links to another project. If I build these two projects independently, there is no problem at all. However, if I tried to build them together: namely, linking one to the other. Then I got the following compilation error:
(Here is just a sample of the error msg)
***********************************************************
c:\program files\microsoft visual studio\vc98\include\ios.h(160) : error C2872: 'ostream' : ambiguous symbol
c:\program files\microsoft visual studio\vc98\include\ios.h(180) : error C2872: 'streambuf' : ambiguous symbol
c:\program files\microsoft visual studio\vc98\include\ios.h(207) : error C2872: 'streambuf' : ambiguous symbol
c:\program files\microsoft visual studio\vc98\include\ios.h(210) : error C2872: 'streambuf' : ambiguous symbol
***********************************************************
close inspection on the error msg shows that its those Visucal C++ header files that are picked for the error. So I am just wondering what does this imply?
Thanks in advance,