To: team
 
In XercesDefs.hpp you have defined the macro XERCES_CPP_NAMESPACE_QUALIFIER.
 
Suppose that somewhere in the code I want to forward declare any Xerces class, like:
 
class InputSource;
void SomeFunc( InputSource& );
 
But this cause the compiler to complain about the umbiguous inputSource.
The correct definition is:
 
class XERCES_CPP_NAMESPACE_QUALIFIERInputSource;
void SomeFunc( XERCES_CPP_NAMESPACE_QUALIFIERInputSource& );
 
But if you change the MACRO to have an extra underscore at the end, the code would be more readable. Compare:
 
class XERCES_CPP_NAMESPACE_QUALIFIER_InputSource;
void SomeFunc( XERCES_CPP_NAMESPACE_QUALIFIER_InputSource& );
 
Ideas ?
 
Regards,
Peter A. Volchek
 
 

Reply via email to