![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
The only way we've been able to get around that is to add the structure definition in the specification/implementation prolog.
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.