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 #2708 is a reply to message #2707] Sat, 22 April 2006 10:42 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
fudadmin wrote on Sat, 22 April 2006 10:13

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?


I tried the above trick with MINGW and it works. In this way copy, past the package folder and rename the .upp file seems the shortest way to replicate a package.
I miss in TheIDE a menu item like "Save Package as...".
Luigi
 
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: Thu Apr 25 16:23:03 CEST 2024

Total time taken to generate the page: 0.02769 seconds