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

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=mime-version:date:message-id:subject:from:to:content-type;
bh=maIJgrZTBGDVuh7ltMMPHaqP7auXuJbfnm9TOS3xKI0=;
b=pmvuZrKNBDmzicc3DONZmWYCE52XIMXpixKLsawHOsXx/nsfkuZxin/OC8qWKT2CFw
3JMOmPMtwa8UvpRwJNUe8+1zognhjRl/MM4ZAfRDv23wdHM9XU0noOdh+6kFhiejIypd
OeR4qZWtQQnZWeNxEaasBhYx6eTnroFIsSKI28IZk/AWYxFkkpT20x4U9tWFj5fCZXBw
ydjEinJcwbhoh3e2R2xPrw0hAoYGfhYLZn1dHdkcEs9NRh/0La1YEIDsS5MN1P73pxRR
6rD7fLK5KEdoaMyTgRRallkv6N7PDVifjaTu1o8vZoP4auORJybna2LRQtR2jMOHazHz
u1mA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:date:message-id:subject:from:to
:content-type;
bh=maIJgrZTBGDVuh7ltMMPHaqP7auXuJbfnm9TOS3xKI0=;
b=HlaIF+4Ocsd6/KyGLWt1nntYwmXyHA9XVqvGd8Sj+MOY9ACQEl5YInw52smjVQeiH1
ZXp/19ZcxNFa2NLrlRu+r5Xo79b2WjyFlna8WmrT+2o/HJVLonv1xLimcW26bnAwZXXA
E+Yc/6n6EaexV1R5oS6PhdAUxhDoPRLK7LbepAhjxIN+PF0OriUiyf4/EGXrp8yFztZG
cpfmsI3TiePNM52jGaTP1SmQo3XN7t2LrEYt6dUZf3yBhNfZTZZPhpB3ejde7jqXPr/N
0Mq+7xQHNQi/QEd2EGFV7hQGvctQ60bU+qpS6ZfaFscAn9BxMijymKK6SdSLvZi7iG3g
583A==
X-Gm-Message-State: AG10YORalzLquD2dkOecHH8hbc1Z2//bbU5uxuDPvgb7ntx9S5WuhRRninmdYIFeFgoWDpoIXVlLuEcKx4seMg==
MIME-Version: 1.0
X-Received: by 10.28.48.19 with SMTP id w19mr19215123wmw.18.1454533312624;
Wed, 03 Feb 2016 13:01:52 -0800 (PST)
Date: Wed, 3 Feb 2016 12:01:52 -0900
Message-ID: <CAC4O8c_hdfA8DDrv6S=kaj+5har6dB2t5jtNYH3tsJE2C5QzSw@mail.gmail.com>
Subject: [geda-user] ok to use #ifndef NDEBUG to exclude debug code?
From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user 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

- Raw text -


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