[Top][All Lists]

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

How to enable/disable my debug code?

From: narke
Subject: How to enable/disable my debug code?
Date: Wed, 27 Jul 2011 13:56:11 +0800


With a same set of autoconf/automake files, how to I distribute my
program that allows user to build it with or without debug code
enabled?  In my code, there are something like below:

#if (__MY_DEBUG__)

Thanks in advance.

Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

public key at (address@hidden)

reply via email to

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