all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: noloader@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: etags.c:88:0: warning: "NDEBUG" redefined
Date: Sat, 21 Mar 2020 10:19:51 +0200	[thread overview]
Message-ID: <83bloqdsrc.fsf@gnu.org> (raw)
In-Reply-To: <CAH8yC8k5ANxkgcc11gufcZXOqqMRTZY6deOwydCTeO+hzyB6Kw@mail.gmail.com> (message from Jeffrey Walton on Sat, 21 Mar 2020 02:15:18 -0400)

> From: Jeffrey Walton <noloader@gmail.com>
> Date: Sat, 21 Mar 2020 02:15:18 -0400
> 
> 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?

The current etags.c in the Emacs repository no longer uses NDEBUG, so
this issue was already solved.

Thanks.



      reply	other threads:[~2020-03-21  8:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-21  6:15 etags.c:88:0: warning: "NDEBUG" redefined Jeffrey Walton
2020-03-21  8:19 ` Eli Zaretskii [this message]

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=83bloqdsrc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=noloader@gmail.com \
    /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.