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 » Community » Newbie corner » Usage of DUMPC and other macros by using flags
Re: Usage of DUMPC and other macros by using flags [message #29340 is a reply to message #29338] Fri, 15 October 2010 16:35 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Javier,

The DEBUG flag is set up automaticaly when compiling in Debug mode. You can test it with #ifdef flagDEBUG in your code.

The debugging macros DUMP,DUMPC,DUMPM,LOG etc. are already defined only in debug mode, you don't have to take care of that yourself.

I guess that is all you need Wink Your solution was of course correct, but unnecessary. BTW the code behind the LOG, DUMP,... is basicaly the same as yours Wink

Additionally, if you use the dot (.FLAG), then it is used for the main package and for any package that has this FLAG in its Accept field in package manager.

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I'm a U newbie
Next Topic: tar library for u++
Goto Forum:
  


Current Time: Mon May 13 20:36:10 CEST 2024

Total time taken to generate the page: 0.02897 seconds