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: How to change the order of generated code?
Topic Summary:
Created On: 1-Sep-2006 09:21
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.
 1-Sep-2006 09:21
User is offline View Users Profile Print this message


Hansoo Shim

Posts: 1
Joined: 6-Apr-2006

Hi.

During compilation of the generated code, I encounterd error that is from the order of the generated code structure.
In generated C header file, code have function declaration first and then structure definition later. But the functions uses the structure as parameter. So there comes error message.
Actually, I use Rhapsody in C. The model structure is like below under file, there is class and function definition. Functions uses the class as parameter. F.Y.I, In Rhapsody in C, class is generated as structure.
File A
- class b
- function(class b *)

How to change the order of generated code ?

Thank you in advance.
Report this to a Moderator Report this to a Moderator
 12-Sep-2006 18:12
User is offline View Users Profile Print this message


Jan Diep

Posts: 18
Joined: 31-May-2005

The only way we've been able to get around that is to add the structure definition in the specification/implementation prolog.
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.