bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Could --disable-leaks be made a runtime switch?


From: Avery Pennarun
Subject: Re: Could --disable-leaks be made a runtime switch?
Date: Tue, 12 Feb 2008 10:56:29 -0500

On 11/02/2008, Steve Litt <address@hidden> wrote:
> nCurses can be made to work right with Valgrind during compile
> by ./configure --disable-leaks. Trouble is, I have to have two different
> nCurseses.
>
> Would it be difficult to have make the --disable-leaks decision at runtime
> rather than at compile time? That way I could use just one nCurses --
> presumably the one that my distro uses to make all their tools.

Isn't there a function you can call at the end of your program that
does the same thing as --disable-leaks?  I seem to remember using such
a thing in the past.

Have fun,

Avery




reply via email to

[Prev in Thread] Current Thread [Next in Thread]