APAR status
Closed as program error.
Error description
221856 * the OXF contains a compiler switch, which shall help avoid using memory reallocation within the OXF, because the RTOS does not offer/support this. * the define used to switch OXF compilation is named 'RiC_NO_RTOS_REALLOC' * but if this switch is set, the OXF will not compile at all. The OXF contains hardcoded calls to 'realloc()' in some of the 'platform independent' container classes... fully ignoring the above switch! See RiCTypes.h saying: /* Reallocate memory of a buffer - used to support RTOS that doesn't support ANSI-C realloc(). By default this method is implemented by realloc() in RiCOxf.c. If your RTOS does not support reallc(), compile the framework with RiC_NO_RTOS_REALLOC and implement the method in the RTOS adaptor. */ PUBLIC void *RiCGetMemory( const size_t requestedSize ); PUBLIC void RiCReturnMemory( const void * const contents ); PUBLIC void *ricRealloc( void *contents, const size_t currentSize, const size_t newSize );
Local fix
Not using OXF, but IDF or NoOXF instead is of course a workaround in some cases, but it is not a solution in that specific project relying on an RTOS, using animation.
Problem summary
PK81319 The RiC_NO_RTOS_REALLOC switch causing compiler errors
Problem conclusion
Fixed in 7.5.1
Temporary fix
Comments
APAR Information
APAR number
PK81319
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
740
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-02-25
Closed date
2009-12-02
Last modified date
2009-12-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC RHAPSODY
Fixed component ID
5724V74RP
Applicable component levels
R740 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
02 December 2009