It is currently Mon Feb 06, 2012 3:46 am

All times are UTC



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.





 Page 1 of 1 [ 5 posts ] 
Author Message
 Post subject: multiple includes
PostPosted: 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?


Offline
 Profile  
 
 Post subject:
PostPosted: Mon Aug 11, 2008 11:50 am 
User avatar

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'.


Offline
 Profile  
 
 Post subject:
PostPosted: 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.


Offline
 Profile  
 
 Post subject:
PostPosted: Mon Aug 11, 2008 6:54 pm 
User avatar

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.


Offline
 Profile  
 
 Post subject:
PostPosted: 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.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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

Search for:

cron

suspicion-preferred