Writing std::ostream should do the trick (don't ask my
why...!)
-----Original Message-----
From: Jeff Lynn [mailto:[EMAIL PROTECTED]
Sent: lundi 6 d�cembre 2004 18:45
To: log4cxx
Subject: How do you resolve 'ostream' ambiguous symbol error?Hi,Can someone help me by pointing out what need to be done to resolve the following error when I declared log4cxx name space inside the header file of a C++ class?D:\VisualStudio\VC98\INCLUDE\ios.h(159) : error C2872: 'ostream' : ambiguous symbolI can declare and use LoggerPtr as global variable in the C++ file, yet when declared inside a C++ header file, got the above error.I would like to declare the LoggerPtr instance as a member variable of each class instead of as a global variable.Thanks!jml
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
