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: Compiling, Linking, Debugging of your packages » what is "fixed flags" for?
what is "fixed flags" for? [message #39710] Fri, 19 April 2013 12:49 Go to next message
piotr5 is currently offline  piotr5
Messages: 101
Registered: November 2005
Experienced Member
I added -std=c++0x to the fixed flags got a funny error. obviously this option in the build-methods-setup is just setting up a definition named flag<something> where <something> is what you entered there, and additionally the output-directory changes accordingly. wouldn't it be more useful if the sting entered there would go into commandline directly without "flag", but still as a define-option? of course then rename it into "fixed defines" or something. then for example you could alter the way stl gets compiled on a global scale, even when upp-packages wont get used...
Re: what is "fixed flags" for? [message #39715 is a reply to message #39710] Fri, 19 April 2013 17:27 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1758
Registered: August 2008
Location: Czech Republic
Senior Contributor

Hi piotr5,

The "fixed flags" only affects (as the name suggest Wink ) build flags. To specify compiler options for debug mode, you can use "debug options". To set options for both debug and release modes, you simply add the options directly in the "compiler name" field (e.g.: 'gcc -std=c++0x').

Best regards,
Honza

PS: Almost forgot to answer your question Smile Fixed flags in debug mode can be used e.g. to allow some extra logging (using #ifdef flagXYZ inyour code) for given build method. Than you can switch such functionality on/off simply by switching between two, otherwise same, build methods. At least that is what I use it for sometimes...

[Updated on: Fri, 19 April 2013 17:31]

Report message to a moderator

Previous Topic: IDE hangs when using breakpoints in Debugger
Next Topic: g++-4.8 with lto
Goto Forum:
  


Current Time: Fri Nov 15 14:33:41 CET 2019

Total time taken to generate the page: 0.01395 seconds