From: Jeffrey Walton <noloader@gmail.com>
To: emacs-devel@gnu.org
Subject: etags.c:88:0: warning: "NDEBUG" redefined
Date: Sat, 21 Mar 2020 02:15:18 -0400 [thread overview]
Message-ID: <CAH8yC8k5ANxkgcc11gufcZXOqqMRTZY6deOwydCTeO+hzyB6Kw@mail.gmail.com> (raw)
Hi Everyone,
I keep -DNDEBUG defined in CPPFLAGS in my environment. When I build
emacs I see some extra noise because of it:
gcc -I. -I../src -I../lib -I. -I./../src -I./../lib -L/tmp/ok_to_delete/lib
-Wl,-R,/../lib -Wl,-R,/tmp/ok_to_delete/lib -Wl,--enable-new-dtags -I/tmp/ok_to
_delete/include -DNDEBUG -g2 -O2 -march=native -fPIC -pthread -DEMACS_NAME="\"GN
U Emacs\"" -DVERSION="\"26.3\"" -o etags etags.c regex.o ../lib/libgnu.a
etags.c:88:0: warning: "NDEBUG" redefined
# define NDEBUG /* disable assert */
<command-line>:0:0: note: this is the location of the previous definition
...
Would it be possible to guard your use of NDEBUG?
Jeff
next reply other threads:[~2020-03-21 6:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-21 6:15 Jeffrey Walton [this message]
2020-03-21 8:19 ` etags.c:88:0: warning: "NDEBUG" redefined Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH8yC8k5ANxkgcc11gufcZXOqqMRTZY6deOwydCTeO+hzyB6Kw@mail.gmail.com \
--to=noloader@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.