APAR status
Closed as program error.
Error description
Summary: ******** Warnings in Rhapsody generated code due to type mismatch in anim ation code. Desciption: *********** Customers model links but crashes during run-time simulation due to the below generated warnings: 1? warning C4047: 'function' : 'const int' differs in levels of indirection from 'int *'. 2? warning C4024: 'ARC_int2String' : different types for formal and actual parameter 1. It looks like the following macro does not take a pointer for 'T ripStats_getTripTime(trip_select_t)'. NOTIFY_OPERATION(me, ?me, ?trip, TripStats, TripStats_getTripTim e, TripStats_getTripTime(trip_select_t), 1, TripStatsAppPkg_Trip Stats_getTripTime_SERIALIZE); Customer informs that currently he has a workaround of manually modifying the types of the specific arguments for which the warn ing messages are reported. Instead of selecting the specific typ e from the TripStatsTypesPkg, if we manually define the argument type as 'TYPE*', the reported warning messages are resolved. However, this is a manual method and user has to manually update each such type involved in the warning messages. Further, the r eported behavior is observed only when we use 'Animation' as the instrumentation type, as the 'NOTIFY_OPERATION' macro is relate d to animation code. Customer further informs that this appears to happen only with f unctions that have arguments that are of enum type. Other inter face functions of the same class that use 'typdef' do not genera te warnings. Only arguments of the functions where 'Kind == Enu meration' generate warnings. Also as per customer this behavior was not observed in 7.5. Attached is the customer's model that reproduces the behavior as reported.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Warnings in Rhapsody generated code due to type mismatch in animation code.
Problem conclusion
Fixed in 7.5.3
Temporary fix
Comments
APAR Information
APAR number
PM09034
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
751
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-03-03
Closed date
2011-01-11
Last modified date
2011-01-11
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
R751 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.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
11 January 2011