hemprasad / gflags

Automatically exported from code.google.com/p/gflags
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Special "debug mode" logging macros have always effect, even if NDEBUG macro is defined #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. define macro NDEBUG
2. use Special "debug mode" logging macros in an application
3. launch compiled application

What is the expected output? What do you see instead?
The expected output is that logging in debug mode should not appear.
Instead it does.

What version of the product are you using? On what operating system?
Google-gflags 1.6 on Debian unstable (linux kernel 3.0.0-1-amd64)

Please provide any additional information below.
g++ compiler version 4.6

Original issue reported on code.google.com by alberto....@gmail.com on 28 Aug 2011 at 9:23

GoogleCodeExporter commented 9 years ago
Sorry, what "debug mode" logging macros are you referring to.  Are you maybe 
thinking about glog, and not gflags?

Original comment by csilv...@gmail.com on 29 Aug 2011 at 11:09

GoogleCodeExporter commented 9 years ago
Sorry, you're right! I was thinking about glog...
Sorry again for my mistake!

Original comment by alberto....@gmail.com on 30 Aug 2011 at 7:15

GoogleCodeExporter commented 9 years ago

Original comment by csilv...@gmail.com on 30 Aug 2011 at 8:27