Hacker News new | ask | show | jobs
by dwheeler 934 days ago
We did include `-D_GLIBCXX_ASSERTIONS` but we intentionally did not include `-D_GLIBCXX_DEBUG`, because we've been focusing on production releases.

The current plan is to add more information distinguishing between production code and instrumented test code, and adding options specific to each. There are many options that might make sense for instrumented test code that don't make sense for production code (and vice versa).

1 comments

typically for production releases I have -DNDEBUG, which will disable -D_GLIBCXX_ASSERTIONS