You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Johannes Gutleber (JIRA)" <xe...@xml.apache.org> on 2005/07/04 16:25:13 UTC

[jira] Updated: (XERCESC-1453) Fix for build problem on Mac OS X Tiger, MacOSUnicodeConverter.cpp:78: error

     [ http://issues.apache.org/jira/browse/XERCESC-1453?page=all ]

Johannes Gutleber updated XERCESC-1453:
---------------------------------------

    Attachment: MacOSUnicodeConverter.cpp.diff

Diff file of MacOSUnicodeConverter.cpp produced by

cvs diff -u MacOSUnicodeConverter.cpp against checked out version using

cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout -d xercesc -r Xerces-C_2_6_0 xml-xerces

> Fix for build problem on Mac OS X Tiger, MacOSUnicodeConverter.cpp:78: error
> ----------------------------------------------------------------------------
>
>          Key: XERCESC-1453
>          URL: http://issues.apache.org/jira/browse/XERCESC-1453
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: 2.6.0
>  Environment: MAC OSX 10.4 Tiger, build from command shell, bash
>     Reporter: Johannes Gutleber
>  Attachments: MacOSUnicodeConverter.cpp.diff
>
> The released 2.6.0 of Xerces for C++ fails to build on MAC OS X 10.4 Tiger with the error:
> % ./runConfigure -p macosx -n native
> % make
> MacOSUnicodeConverter.cpp:78: error: 'static' may not be used when defining (as opposed to declaring) a static data member
> MacOSUnicodeConverter.cpp:84: error: 'static' may not be used when defining (as opposed to declaring) a static data member
> make[2]: *** [MacOSUnicodeConverter.o] Error 1
> The problem is due to the keyword "static" that shall not be repeated in the implementation file. Removing the two "static" keywords from the two lines solves the problem and the software builds.

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