[ 
http://issues.apache.org/jira/browse/XERCESC-1562?page=comments#action_12365738 
] 

François Robert commented on XERCESC-1562:
------------------------------------------

The link issue is the same as issue XERCESC-1306.
https://issues.apache.org:443/jira/browse/XERCESC-1306

> XercesLib.mcp.xml is broken on CodeWarrior 9
> --------------------------------------------
>
>          Key: XERCESC-1562
>          URL: http://issues.apache.org/jira/browse/XERCESC-1562
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to