DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4873>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4873

ICU 2.0 breaks Xerces 1.5.2 build

           Summary: ICU 2.0 breaks Xerces 1.5.2 build
           Product: Xerces-C++
           Version: 1.5.2
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Xerces 1.5.2 does not build with ICU 2.0 because ICU has changed the
signature of ucnv_setFromUCallBack.
The function is called three times in 
util/Transcoders/ICU/ICUTransService.cpp.

The old protoype was:
void ucnv_setFromUCallBack (UConverter*, UConverterFromUCallback, void*, 
UConverterFromUCallback*, void**, UErrorCode*)

The new prototype is (parameter 3 and 5 are now const)
void ucnv_setFromUCallBack (UConverter*, UConverterFromUCallback, const void*, 
UConverterFromUCallback*, const void**, UErrorCode*)

Change the declaration of actual parameter 5 from:
void *orgContent
to:
const void *orgContent

on lines 538 and 625 of ICUTransService.cpp

Zartaj

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

Reply via email to