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++ Library support » U++ Core » Must Core be compiled in DEBUG mode only?
icon5.gif  Must Core be compiled in DEBUG mode only? [message #8106] Thu, 08 February 2007 18:05 Go to next message
I. Mironchick is currently offline  I. Mironchick
Messages: 7
Registered: February 2007
Location: Belarus
Promising Member

Hi.

I try to compile Ultimate++ 2007.1-beta3. When I compile tutorial Core01 I found problem running this tutorial. So, when Core compiled in DEBUG mode all is Ok, but when one in REELASE mode than DUMP, LOG and others macroses doesn't work correctly. In RELEASE mode this tutorial do not create *.log file for output and no any outputs was made...

Is it problem of Core library or Core must be compiled in DEBUG mode only?

P.S. I use ours own make system, so I need to know how I must compile Core...
Re: Must Core be compiled in DEBUG mode only? [message #8107 is a reply to message #8106] Thu, 08 February 2007 18:58 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I. Mironchick wrote on Thu, 08 February 2007 12:05

Hi.

I try to compile Ultimate++ 2007.1-beta3. When I compile tutorial Core01 I found problem running this tutorial. So, when Core compiled in DEBUG mode all is Ok, but when one in REELASE mode than DUMP, LOG and others macroses doesn't work correctly. In RELEASE mode this tutorial do not create *.log file for output and no any outputs was made...

Is it problem of Core library or Core must be compiled in DEBUG mode only?

P.S. I use ours own make system, so I need to know how I must compile Core...


See Core/Diag.h: LOG and DUMP are defined empty in release mode.

These are tutorial examples, LOG/DUMP only show what is in variables....

Mirek
icon7.gif  Re: Must Core be compiled in DEBUG mode only? [message #8108 is a reply to message #8107] Thu, 08 February 2007 19:55 Go to previous message
I. Mironchick is currently offline  I. Mironchick
Messages: 7
Registered: February 2007
Location: Belarus
Promising Member

luzr wrote on Thu, 08 February 2007 19:58

See Core/Diag.h: LOG and DUMP are defined empty in release mode.

These are tutorial examples, LOG/DUMP only show what is in variables....

Mirek


You are right. Thx for help.
Previous Topic: LOG files in ~/.App-name/logs/date.log in Linux
Next Topic: Problem with Serialization after recompiling with U++ 2007.1beta3
Goto Forum:
  


Current Time: Sun May 05 09:56:23 CEST 2024

Total time taken to generate the page: 0.02421 seconds