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 "Hannes Hochreiner (JIRA)" <xe...@xml.apache.org> on 2005/05/22 19:08:05 UTC

[jira] Created: (XERCESC-1424) MacOSUnicodeConverter "static" definition problem

MacOSUnicodeConverter "static" definition problem
-------------------------------------------------

         Key: XERCESC-1424
         URL: http://issues.apache.org/jira/browse/XERCESC-1424
     Project: Xerces-C++
        Type: Bug
  Components: Utilities  
    Versions: 2.6.0    
 Environment: MacOS X (10.4.1), iBook G3 (600 MHz, 384 MB SDRAM), gcc 4.0
    Reporter: Hannes Hochreiner
    Priority: Trivial


Following error occured on compilation:

g++ -DMACOSX -D_REENTRANT -c -I/Users/hannes/Desktop/xerces-c-src_2_6_0//include -g -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DAPP_NO_THREADS -DXML_USE_NO_THREADS -DXML_USE_NETACCESSOR_SOCKET     -o /Users/hannes/Desktop/xerces-c-src_2_6_0//obj/MACOSX/MacOSUnicodeConverter.o MacOSUnicodeConverter.cpp
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
make[1]: *** [transcoders] Error 2
make: *** [Util] Error 2

Since the sources said, that they were meant to be local anyways, I removed the "static" and it compiled without a problem. However, I don't know, if that won't result in unexpected behaviour on execution.

-- 
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


[jira] Resolved: (XERCESC-1424) MacOSUnicodeConverter "static" definition problem

Posted by "James Berry (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1424?page=all ]
     
James Berry resolved XERCESC-1424:
----------------------------------

     Assign To: James Berry
    Resolution: Duplicate

This is a duplicate of issue #1415. Thanks for your report. This issue has been fixed in cvs for a while.

> MacOSUnicodeConverter "static" definition problem
> -------------------------------------------------
>
>          Key: XERCESC-1424
>          URL: http://issues.apache.org/jira/browse/XERCESC-1424
>      Project: Xerces-C++
>         Type: Bug
>   Components: Utilities
>     Versions: 2.6.0
>  Environment: MacOS X (10.4.1), iBook G3 (600 MHz, 384 MB SDRAM), gcc 4.0
>     Reporter: Hannes Hochreiner
>     Assignee: James Berry
>     Priority: Trivial

>
> Following error occured on compilation:
> g++ -DMACOSX -D_REENTRANT -c -I/Users/hannes/Desktop/xerces-c-src_2_6_0//include -g -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DAPP_NO_THREADS -DXML_USE_NO_THREADS -DXML_USE_NETACCESSOR_SOCKET     -o /Users/hannes/Desktop/xerces-c-src_2_6_0//obj/MACOSX/MacOSUnicodeConverter.o MacOSUnicodeConverter.cpp
> 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
> make[1]: *** [transcoders] Error 2
> make: *** [Util] Error 2
> Since the sources said, that they were meant to be local anyways, I removed the "static" and it compiled without a problem. However, I don't know, if that won't result in unexpected behaviour on execution.

-- 
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