[ 
https://issues.apache.org/jira/browse/XERCESC-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alberto Massari resolved XERCESC-1830.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
         Assignee: Alberto Massari

Thanks Vitaly 

> DOMPrint sample build with Borland compiler: Ambiguity between 'DOMDocument' 
> and 'xercesc_3_0::DOMDocument
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1830
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1830
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: Windows XP, Borland C++ Builder 5.0
>            Reporter: Vitaly Prapirny
>            Assignee: Alberto Massari
>            Priority: Trivial
>             Fix For: 3.0.0
>
>
> Error occured while building Xerces-C samples using BCC.551 project files:
> Error E2015 ..\..\..\..\..\samples\src\DOMPrint\DOMPrint.cpp 497: Ambiguity 
> between 'DOMDocument' and 'xercesc_3_0::DOMDocument' in function 
> main(int,char * *)
> The fix is trivial (svn diff):
> Index: projects/Win32/BCC.551/Xerces-all/DOMPrint/DOMPrint.mak
> ===================================================================
> --- projects/Win32/BCC.551/Xerces-all/DOMPrint/DOMPrint.mak     (revision 
> 696930)
> +++ projects/Win32/BCC.551/Xerces-all/DOMPrint/DOMPrint.mak     (working copy)
> @@ -23,7 +23,7 @@
>  PATHASM = .;
>  PATHPAS = .;
>  PATHRC = .;
> -USERDEFINES = _DEBUG;XERCES_NO_CONFIGURE_SUPPORT
> +USERDEFINES = _DEBUG;WIN32_LEAN_AND_MEAN;XERCES_NO_CONFIGURE_SUPPORT
>  SYSDEFINES = _NO_VCL;_VIS_NOLIB;_RTLDLL
>  INCLUDEPATH = ..\..\..\..\..\samples\src\DOMPrint;..\..\..\..\..\src
>  LIBPATH = ..\..\..\..\..\samples\src\DOMPrint

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to