U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » WARNINGS: LOG -> empty statement in RELEASE
Re: WARNINGS: LOG -> empty statement in RELEASE [message #31843 is a reply to message #31836] Wed, 30 March 2011 21:43 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
dolik.rce wrote on Wed, 30 March 2011 07:14

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


Are you sure that GCC guys will not warn about "empty block" someday? Smile
 
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: Wed Jul 01 08:30:11 GMT+2 2026

Total time taken to generate the page: 0.00603 seconds