IBM Support

Building of model by using Friend stereotype in Rational Rhapsody results in "not allowed outside of a class definition" error

Troubleshooting


Problem

Attempts to build a model by using the Friend stereotype in IBM Rational Rhapsody results in the error "not allowed outside of a class definition".

Symptom

Attempts to build a model having friend stereotype along with usage(Implementation) stereotype on the same dependency link in Rational Rhapsody results in the following error:

"C2255: 'friend' : not allowed outside of a class definition"

Image

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Rational Rhapsody Developer","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.0.1;7.5.1;7.5.1.1;7.5.2;7.5.2.1;7.5.3;7.5.3.1;7.5.3.2;7.6;7.6.0.1;7.6.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
27 May 2022

UID

swg21599964