DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27220>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27220

Forward declaration of classes-namespace problem

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2004-02-26 09:53 -------
This behaviour has in been in place since the first version using namespace 
(2.0). You are left with several options to cope with it:

1) compile Xerces disabling namespaces (just undefine XERCES_HAS_CPP_NAMESPACE 
in util\Compilers\GCCDefs.hpp)
2) define your own macro BEGIN_DOM_FORWARD/END_DOM_FORWARD that you keep 
updated with the version of Xerces you ship
3) define these fields as void*, and do the cast in the cpp file
4) define just a pure interface towards your code, keeping the implementation 
(and its private fields) inside your library, far from the user's sight

Alberto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to