Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Packages » howto duplicate main package and rename classes "in bulk"?
Re: howto duplicate main package and rename classes "in bulk"? [message #2707 is a reply to message #2706] Sat, 22 April 2006 10:13 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
gprentice wrote on Sat, 22 April 2006 09:02

fudadmin wrote on Sat, 22 April 2006 19:21

The trick:
#define PACKAGEDIR <ForlanoVega1

doesn't work correctly with at least optimal modes and BLITZ.
Does anybody know the reason?



The mechanism for substitution of names within a #include statement is "implementation defined" and the usual guideline is to not do what you are doing, but to do something like

#define SF <dir/file.h>
#include SF

where the text that follows the #include is a single name, the name of a macro.

Graeme


Thanks! I had a feeling that a was breaking something. Have you got an idea how to implement this with a macro? Or what would be the best?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Link error when building ide\Debuggers module? [SOLVED] -not main package
Next Topic: Bug
Goto Forum:
  


Current Time: Fri Apr 26 10:05:28 CEST 2024

Total time taken to generate the page: 0.04405 seconds