![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: CG::Type::Implementation StaticArray or EmbeddedFixed Topic Summary: Created On: 13-Mar-2007 12:17 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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? ![]() |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.