Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: CG::Type::Implementation StaticArray or EmbeddedFixed
Topic Summary:
Created On: 13-Mar-2007 12:17
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 13-Mar-2007 12:17
User is offline View Users Profile Print this message


Volker Subat

Posts: 13
Joined: 20-Jan-2006

Hello there,

in Rhapsody in C (6.1 MR2) I'd like to define an array:[CODE]#define SIZE 300
...
extern t_type Field_m[SIZE + 1];[/CODE]so I entered a multiplicity of SIZE+1 for my variable called "Field_m" of type "t_type".
To prevent Rhapdoy using RiCCollection I've set CG::Type::Implementation = StaticArray but Rhapsody gives me the following message:
[CODE]Error: Mismatch between implementation and multiplicity
Attribute: Field_m


Found 1 errors, 0 warnings
Code generation Aborted[/CODE]


Funny enough Rhapsody suports the following multiplicities:
SIZE
SIZE-1
SIZE-(-1)

but not
SIZE+1



Why? - What did I do wrong?
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.