xuxiandi / ftk

Automatically exported from code.google.com/p/ftk
Other
0 stars 0 forks source link

Debug code on ftk #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create lua binding as console application
2. Execute any lua demos 
3. The console is outputing a lot of debug/log information that slow down 
program execution.

What is the expected output? What do you see instead?
I expected with a release build to not get any non serious debug/log info 
outputed to console.

What version of the product are you using? On what operating system?
I'm using FTK trunk on win32 compilide with mingw and codeblocks.

Please provide any additional information below.
Why not wrap the debug/log info output with conditional compiler statements 
(#ifdef DEBUG_ON) this way when compiled for release it can work cleanly.

Original issue reported on code.google.com by mingo...@gmail.com on 5 Jul 2011 at 8:47