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 » Developing U++ » U++ Developers corner » WARNINGS: LOG -> empty statement in RELEASE
Re: WARNINGS: LOG -> empty statement in RELEASE [message #31836 is a reply to message #31834] Wed, 30 March 2011 13:14 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi kohait,

There is lot more warnings like this all over U++ Smile IMHO better solution (more general and future-proof) would be defining LOG as nonempty macro:
#ifndef flagDEBUG
#define LOG(X) {}
#endif 

I don't recall where the LOG is originally defined, but I'm sure you can find it Wink

Honza

[Updated on: Wed, 30 March 2011 13:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: svn: patches, sandbox
Next Topic: FEAT: Tcl as a plugin
Goto Forum:
  


Current Time: Fri Jul 18 04:04:18 CEST 2025

Total time taken to generate the page: 0.05188 seconds