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

Boris Kolpackov closed XERCESC-1562.
------------------------------------

    Resolution: Won't Fix

Compiler no longer supported. 

> XercesLib.mcp.xml is broken on CodeWarrior 9
> --------------------------------------------
>
>                 Key: XERCESC-1562
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1562
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.7.0
>         Environment: CodeWarrior 9.5 / OSX 10.4.0 / XCode 2.1 (for the 
> Universal 10.4 SDK)
> {OS X Volume} point to the Mac OS 10.4 Universal SDK root rather than / (this 
> is to allow replicable builds regardless of which subversion of MacOS X is 
> running)
>            Reporter: François Robert
>            Priority: Minor
>
> Searching JIRA did not seem to return any existing bug report for this issue, 
> so here it is :
> Compiling Xerces C++ 2.7.0 with CodeWarrior 9.5 is not possible out ot the 
> box.
> If you attempt to build Mach-O Framework Release (or Debug) target, you get 
> 22 build errors, 18 of which are "identifier 'restrict' redeclared", 2 are 
> headers files "XObjectComparator.hpp" not found and 2 are 
> "XTemplateComparator.hpp" not found.
> I got rid of the "identifier redeclared" by adding to the target settings the 
> following :
> Language Settings / C/C++ Settings / Enable C99 Extensions : checked (was 
> unchecked)
> Looking at the VC7.1project, it appears that those files are not even 
> referred to, so I got rid of the other 4 errors by eliminating altogether the 
> files from the /Xerces/internal group where they are located.
> With those two modifications, the CW project compiles but does not link. You 
> get 8 undefined symbol errors regarding :
> XMLInitializer, identityConstraintHandler; XSValue and XSAXMLScanner
> Looking again at VC7.1project, I noted that the following 8 files are 
> included : 
> /internal/SAXMLScanner.cpp & .hpp
> /framework/psvi/XSValue.cpp & .hpp
> /validators/schema/identity/IdentityConstraintHandler.cpp & .hpp
> /util/XMLInitializer.cpp & .hpp
> So I added them in the corresponding groups in CW9 project and that was 
> sufficient to link.
> FYI, there are other files not referenced in the CW9 but found in VC7 
> project, apart from stuff irrelevant to CW like compiler or platform 
> dependent files :
> /internal/BinMemOutputStream.cpp & hpp
> /parsers/SAX2XMLFilterImpl.cpp &.hpp
> There are also quite a few .hpp and .c files in various folders (harmless 
> ???) not referenced either.

-- 
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: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to