[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++, assert and NDEBUG
From: |
Rhys Ulerich |
Subject: |
Re: C++, assert and NDEBUG |
Date: |
Sat, 27 Mar 2010 17:52:46 -0500 |
> I have started using autotools for the C++ applications I create (very
> much as an amateur). I typically use assert statements during
> development, and would disable these by using -DNDEBUG when the release
> version is built. How should I configure things so that when a user
> installs from the tarball they compile by default with the -DNDEBUG
> option?
Attached is a macro that I use to enable/disable debugging via
configure time option. Contrary to the header, it is not in the
autoconf macro archive. Feedback welcome.
- Rhys
ax_check_enable_debug.m4
Description: application/m4
- C++, assert and NDEBUG, Steve Searle, 2010/03/27
- Re: C++, assert and NDEBUG, Bob Friesenhahn, 2010/03/27
- Re: C++, assert and NDEBUG,
Rhys Ulerich <=
- Re: C++, assert and NDEBUG, Braden McDaniel, 2010/03/28
- Re: C++, assert and NDEBUG, William Pursell, 2010/03/29