A fix is available
APAR status
Closed as program error.
Error description
Following are the warning message customer gets while building *************************** All Checks Terminated Successfully Checker Done 0 Error(s), 0 Warning(s) Code generated to directory: C:/IBM/Temp/Project1/DefaultComponent/vxwork Code Generation Done 0 Error(s), 0 Warning(s), 0 Message(s) Building ------------ DefaultComponent.out ------------ Executing: ""C:\IBM\Rhapsody821\Share"\etc\vx6make.bat DefaultComponent.mak build 6.9 vxworks SIMNT diab " ECHO is off. Compiling class_0.cpp "C:/IBM/Rhapsody821/Share/LangCpp/oxf/OMStaticArray.h", line 200: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) Rhp_int32_t index = (Rhp_int32_t)(Rhp_uintptr_t)(pos); ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/OMStaticArray.h", line 221: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) pos = reinterpret_cast<void*>(reinterpret_cast<Rhp_uintptr_t>(pos) + 1U); ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 247: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) ((reinterpret_cast<Rhp_uintptr_t>(pos) < static_cast<Rhp_uintptr_t>(m_head)) || ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 248: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) (reinterpret_cast<Rhp_uintptr_t>(pos) >= static_cast<Rhp_uintptr_t>(m_tail))) ) { ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 252: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) if ( (reinterpret_cast<Rhp_uintptr_t>(pos) < static_cast<Rhp_uintptr_t>(m_head)) && ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 253: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) (reinterpret_cast<Rhp_uintptr_t>(pos) >= static_cast<Rhp_uintptr_t>(m_tail)) ) { ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 258: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) return m_myQueue.getAt((Rhp_int32_t)(Rhp_uintptr_t)(pos)); ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 278: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) Rhp_int32_t i = (Rhp_int32_t)(Rhp_uintptr_t)pos; ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/OMSelfLinkedMemoryAllocato r.h", line 116: info (etoa:2273): suspicious truncation of a 32-bit value when assigned to a 64-bit integral type (potential portability problem) newBlock = reinterpret_cast<T*>(OMMemoryManagerWrapper::getMemory((Rhp_uint 64_t)(sizeof(T) * numOfInstances))); ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/OMSelfLinkedMemoryAllocato r.h", line 141: info (etoa:2273): suspicious truncation of a 32-bit value when assigned to a 64-bit integral type (potential portability problem) element = reinterpret_cast<T*>(OMMemoryManagerWrapper::getMemory((Rhp_uint 64_t)size)); ^ Compiling MainDefaultComponent.cpp "C:/IBM/Rhapsody821/Share/LangCpp/oxf/OMStaticArray.h", line 200: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) Rhp_int32_t index = (Rhp_int32_t)(Rhp_uintptr_t)(pos); ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/OMStaticArray.h", line 221: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) pos = reinterpret_cast<void*>(reinterpret_cast<Rhp_uintptr_t>(pos) + 1U); ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 247: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) ((reinterpret_cast<Rhp_uintptr_t>(pos) < static_cast<Rhp_uintptr_t>(m_head)) || ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 248: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) (reinterpret_cast<Rhp_uintptr_t>(pos) >= static_cast<Rhp_uintptr_t>(m_tail))) ) { ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 252: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) if ( (reinterpret_cast<Rhp_uintptr_t>(pos) < static_cast<Rhp_uintptr_t>(m_head)) && ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 253: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) (reinterpret_cast<Rhp_uintptr_t>(pos) >= static_cast<Rhp_uintptr_t>(m_tail)) ) { ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 258: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) return m_myQueue.getAt((Rhp_int32_t)(Rhp_uintptr_t)(pos)); ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/omqueue.h", line 278: info (etoa:5388): conversion from pointer to same-sized integral type (potential portability problem) Rhp_int32_t i = (Rhp_int32_t)(Rhp_uintptr_t)pos; ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/OMSelfLinkedMemoryAllocato r.h", line 116: info (etoa:2273): suspicious truncation of a 32-bit value when assigned to a 64-bit integral type (potential portability problem) newBlock = reinterpret_cast<T*>(OMMemoryManagerWrapper::getMemory((Rhp_uint 64_t)(sizeof(T) * numOfInstances))); ^ "C:/IBM/Rhapsody821/Share/LangCpp/oxf/OMSelfLinkedMemoryAllocato r.h", line 141: info (etoa:2273): suspicious truncation of a 32-bit value when assigned to a 64-bit integral type (potential portability problem) element = reinterpret_cast<T*>(OMMemoryManagerWrapper::getMemory((Rhp_uint 64_t)size)); ^ Linking and Munching DefaultComponent.out "ctdt.c", line 65: warning (dcc:1080): inconsistent storage class specification for _STD__cxa_finalize Build Done
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * rhp * **************************************************************** * PROBLEM DESCRIPTION: * * Warnings in framework code for vxworks 6.9 SIMNT diab * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Warnings were suppressed.
Temporary fix
Comments
APAR Information
APAR number
PI91023
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
821
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-12-04
Closed date
2018-06-17
Last modified date
2018-06-17
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
R821 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"821","Line of Business":{"code":"LOB02","label":"AI Applications"}}]
Document Information
Modified date:
18 October 2021