IBM Support

Building Rational Rhapsody project results in compilation error C2039

Troubleshooting


Problem

Attempts to build the IBM Rational Rhapsody project results in compilation error "C2039: 'FlowProperty' : is not a member of 'Flow_Port'".

Symptom

You receive the following error:

Error C2039: 'FlowProperty' : is not a member of 'Flow_Port'

Cause

This issue was identified as a product defect and logged under APAR PM82581.

Resolving The Problem

WORKAROUND:

  1. Navigate to File > Add to Model > (Rhapsody Installation) > share > Settings > BackwardCompatibility > CGCompatibilityPre80Cpp.sbs

  2. Click on Open to add it in the model.

  3. Right click on the package > select Features > Properties

  4. Set property CPP_CG::Attribute::GenerateAttributeImplementationForInterface to TRUE.


Note: Once a property is overridden in the model, it no longer needs to be in profile.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21631766