Building Rational Rhapsody project results in compilation error C2039
Attempts to build the IBM Rational Rhapsody project results in compilation error "C2039: 'FlowProperty' : is not a member of 'Flow_Port'".
You receive the following error:
Error C2039: 'FlowProperty' : is not a member of 'Flow_Port'
This issue was identified as a product defect and logged under APAR PM82581.
Resolving the problem
- Navigate to File > Add to Model > (Rhapsody Installation) > share > Settings > BackwardCompatibility > CGCompatibilityPre80Cpp.sbs
- Click on Open to add it in the model.
- Right click on the package > select Features > Properties
- 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.
Translate this page: