[Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Feb 05, 2002 at 09:43:34PM +0100, Reinier Post wrote:
> On Tue, Feb 05, 2002 at 04:56:53PM +0000, Eric E Moore wrote:
>
> > Err... no. if NDEBUG is defined (regardless of value) asserts are
> > turned off.
> >
> > -Eric
>
> ! Who messed with the drinks of the ANSI committee?
This isn't a problem:
#if DEBUG < DEBUG_LEVEL_FROM_WHICH_WE_WANT_ASSERTS
#define NDEBUG
#endif
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"The very concept of PNP is a lovely dream that simply does not translate to
reality. The confusion of manually doing stuff is nothing compared to the
confusion of computers trying to do stuff and getting it wrong, which they
gleefully do with great enthusiasm."
-- Jinx Tigr in the SDM
- [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216), (continued)
- [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216), Jason Short, 2002/02/04
- [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216), Raimar Falke, 2002/02/05
- [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216), Reinier Post, 2002/02/05
- [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216), Raimar Falke, 2002/02/05
- [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216), Eric E Moore, 2002/02/05
- [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216), Reinier Post, 2002/02/05
- [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216),
Raimar Falke <=
|
|