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 ji...@apache.org on 2004/05/30 18:56:01 UTC

[jira] Resolved: (XERCESC-1221) compilation errors with gcc 3.3 (IconvGNUTransService.cpp)

Message:

   The following issue has been resolved as DUPLICATE.

   Resolver: cargilld
       Date: Sun, 30 May 2004 9:55 AM

This has already been fixed in XERCESC-1163.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1221

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1221
    Summary: compilation errors with gcc 3.3 (IconvGNUTransService.cpp)
       Type: Bug

     Status: Resolved
   Priority: Minor
 Resolution: DUPLICATE

    Project: Xerces-C++
 Components: 
             Build
   Versions:
             2.5.0

   Assignee: 
   Reporter: Jay Berkenbilt

    Created: Sun, 30 May 2004 6:39 AM
    Updated: Sun, 30 May 2004 9:55 AM
Environment: Debian GNU/Linux, gcc 3.3, -ticonvGNU

Description:
When building xerces-c 2.5.0 on Debian GNU/Linux with gcc 3.3 using -ticonvGNU, there is a compiler error in IconvGNUTransService.cpp.  A patch is attached.
--- xerces-c-src_2_5_0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp.orig      2003-12-24 10:24:15.000000000 -0500
+++ xerces-c-src_2_5_0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp   2004-04-18 20:49:14.000000000 -0400
@@ -1154,7 +1154,7 @@
     size_t    rc = iconvFrom(toTranscode, &flen, &ptr, len);
     if (rc == (size_t)-1) {
         if (wBufPtr)
-            XMLPlatformUtils::manager->deallocate(wBufPtr);//delete [] wBufPtr;
+            manager->deallocate(wBufPtr);//delete [] wBufPtr;
         return false;
     }



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org