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 » Add/Remove flags disfunction [BUG?]
Re: Add/Remove flags disfunction [BUG?] [message #42520 is a reply to message #42517] Thu, 20 March 2014 21:56 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Alboni wrote on Thu, 20 March 2014 21:26

ok, here a test with a dot

Ok, I see it now Smile I mistakenly thought that you were adding it in to the 'mainconf', but you try to make it work in Add/Remove flags... That is not supported at the moment, but thinking about it, it would be good. It doesn't look trivial to implement, though, so it'll probably take me some time.

Regarding the issue with two flags separated by comma: TheIDE eagerly quotes the string, saving it as
flags(WHEN) "FLAG1,FLAG2"
If you manually edit it to remove the quotes, like:
flags(WHEN) FLAG1,FLAG2
then the code actually works Smile Unfortunately, the code that writes and reads this is used across multiple other options (link flags, uses, targets etc.) where the quoting is necessary. Another issue with this is that the code that saves the additional flags breaks it apart and saves it into two separate lines as soon as you do any changes in the .upp file. So it is probably easier to just add multiple lines... But I'll try to think of some simple way to make it work anyways, perhaps it'll be possible without duplicating too much code.

Honza
 
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: howto delete/remove main package?
Next Topic: Project folders recognized & listed in U++ startup list, stay organized
Goto Forum:
  


Current Time: Fri Jul 18 08:19:37 CEST 2025

Total time taken to generate the page: 0.03173 seconds