Building Rational Rhapsody project results in compilation error C2039

Technote (troubleshooting)


Problem(Abstract)

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.

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Rhapsody
General Information

Software version:

8.0

Operating system(s):

Windows

Reference #:

1631766

Modified date:

2013-03-21

Translate my page

Machine Translation

Content navigation