APAR status
Closed as program error.
Error description
0. PMR 48727,999,766 Quintus : #224008 1. Problem/Symtom ??Singleton?? object can't use interface. 2. Replication steps; 0. create a OMD a. Create a object(ObjTest) and add ??Singletong?? streotype b. Create a Interface(Tracer) c. And a realization the interface by the singleton d. Generate soutce code [ObjTest.c] ... void ObjTest_Init(void) { Tracer_Init(?me-?_Tracer, ?ObjTest_Tracer_Vtbl_Values); } ... [Tracer.c] ... void Tracer_Init(Tracer* const me, const Tracer_Vtbl * vtbl) { me-?TracerVtbl = vtbl; } ... e. build then it gives following error. Building ------------ DefaultComponent.exe ------------ Executing: ''C:\Program Files\Telelogic\Rhapsody 7.4\Share'\etc\msmake.bat DefaultComponent.mak build ' Setting environment for using Microsoft Visual Studio 2005 x86 tools. ObjTest.c ObjTest.c(23) : error C2065: 'me' : undeclared identifier ObjTest.c(23) : error C2223: left of '-?_Tracer' must point to struct/union ObjTest.c(23) : warning C4090: 'function' : different 'const' qualifiers ObjTest.c(23) : error C2198: 'Tracer_Init' : too few arguments for call NMAKE : fatal error U1077: ''C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE'' : return code '0x2' Stop.
Local fix
There is no workaround with current version
Problem summary
KR Error : 'me' : undeclared identifier for Singleton
Problem conclusion
Fixed in 7.5.1
Temporary fix
Comments
APAR Information
APAR number
PK86455
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-05-13
Closed date
2009-12-03
Last modified date
2009-12-03
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:
03 December 2009