delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/02/03/16:33:37

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-type:content-transfer-encoding;
bh=9fN27CnINY6BO7xsloCkZTPibZ2Ep7DwynX50t17ZBI=;
b=RXOJZytZmaD13SBHsCg/CeITMj1VTK7sk/h1807TRZewo4Q9rfDTd8HIMw23N6Wa9x
v6tqr30vv6CdgbiwraCWcQKAKbl7dYQhNvZyPbZwARZNq82K2Pupl135ux42mkt/d+q6
tfvfQXb+2kpFtkz4fUCbbx3xh9ZbnzVSQblGspgqNJfnoxWcgCGVL+00i2n4497ZwT6d
eCQC6CPrIb1oMK0jug2YyEhqIiK8kOPgZKjdQZDbpZTLRug1FJeDlyrSMcq/PCEugwGc
1LMaNGpjGbiYDqYgBAAwyyv7YNlC0CndVZElmw6WIkT9BQQsJW08Gwd98W1gpMdRv9fT
w3Fg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
bh=9fN27CnINY6BO7xsloCkZTPibZ2Ep7DwynX50t17ZBI=;
b=gRj5mgo/2si9WwbQC09V6U0yFUx2rl31sK1rC5ounnQlSf6oRX1AVumJ3goo/Lp+Zr
z+qkkNY8VYy34lMe9Ms6FAHbi9I5fwVfyMDyIVizy1qbpd7b5COSrWHLV64R+tE1FoPK
ttSpYQHkwy31S232dJSuJrjFoz6hFFLCbpibPWz6MqCYmHUIvdyKijtH8D5f+1b7D281
BxUe05UJexiC0B+tjWJSY/Uh5PSjRGt3ek5XKBvqznbYzoURUCLVlunfdSLUwzk2z8u3
ZCg4aeDvZhXTNeibnJaWVpArzlOUjgs9EYmzYw6S8+UPFOpAhQh0+QujWxfsHUiVezlq
9QCg==
X-Gm-Message-State: AG10YOSqX9l2Tslp9L2/0ZGo8oUoCCMmBGNLz18p58cmvsf93l0H6uMhLKoXl40KaHkUdw==
X-Received: by 10.28.174.196 with SMTP id x187mr6560283wme.2.1454535204906;
Wed, 03 Feb 2016 13:33:24 -0800 (PST)
Date: Wed, 3 Feb 2016 22:33:19 +0100
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] ok to use #ifndef NDEBUG to exclude debug code?
Message-Id: <20160203223319.abd426ba6ffecc705289b6e1@gmail.com>
In-Reply-To: <CAC4O8c_hdfA8DDrv6S=kaj+5har6dB2t5jtNYH3tsJE2C5QzSw@mail.gmail.com>
References: <CAC4O8c_hdfA8DDrv6S=kaj+5har6dB2t5jtNYH3tsJE2C5QzSw AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> For some branches I've been asked to bracket debugging code such that
> it doesn't compile except in debugging mode.
> 
> I would do this with simple #ifndef NDEBUG, is this going to be ok?
> 
> Britton

I think normal is #ifdef DEBUG and two negations should be avoided but do not care that much about it.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019