|
It is currently Mon Feb 06, 2012 3:46 am
|
View unanswered posts | View active topics
| Welcome |
|
Welcome to RHAPSODY4YOU
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today. |
 |
|
 |
|
| Author |
Message |
|
harq
|
Post subject: multiple includes Posted: Mon Aug 11, 2008 7:25 am |
Joined: Mon Aug 11, 2008 7:18 am Posts: 5
|
|
I want to reverse engineer a file with multiple includes [it includes the same header file more than once] and I want to preserve them.
For examlple, if I have #include "head.h" more than once in a source file, it leaves me only one #include "head.h".
Can I set Rhapsody to do this?
|
|
|
|
 |
|
Farquad
|
Post subject: Posted: Mon Aug 11, 2008 11:50 am |
Joined: Thu Sep 13, 2007 7:34 pm Posts: 397 Location: London
|
|
Do you really want to get Rhapsody to 'look after' and forward generate this code?
If not then just reverse engineer it as 'external'.
|
|
|
|
 |
|
harq
|
Post subject: Posted: Mon Aug 11, 2008 1:50 pm |
Joined: Mon Aug 11, 2008 7:18 am Posts: 5
|
|
I also want to get Rhapsody generate that code.
|
|
|
|
 |
|
Farquad
|
Post subject: Posted: Mon Aug 11, 2008 6:54 pm |
Joined: Thu Sep 13, 2007 7:34 pm Posts: 397 Location: London
|
|
OK Rhapsody's very flexible but why is it important to preserve duplicate #includes?
I can get Rhapsody to generate the code but I can't yet find a way of getting it preserve the duplication during rev eng.
I don't understand why it might be necessary.
|
|
|
|
 |
|
harq
|
Post subject: Posted: Thu Aug 14, 2008 10:30 am |
Joined: Mon Aug 11, 2008 7:18 am Posts: 5
|
|
I have a sequence like this
#define D 1
#include "header.h"
#undef D
header.h contains an #ifdef D.
So I need to preserve multiple includes.
|
|
|
|
 |
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|