all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeffrey Walton <noloader@gmail.com>
To: emacs-devel@gnu.org
Subject: Emacs 26.2 etags.c warning
Date: Fri, 3 May 2019 10:50:43 -0400	[thread overview]
Message-ID: <CAH8yC8mCg-SfdXadQcYaNj-DtjqDCL6gwWSvAhRtbe+HERuzDw@mail.gmail.com> (raw)

Hi Everyone,

I'm building Emacs 26.2 from sources. I use '-DNDEBUG -g2 -O3' as my
base CFLAGS. It is producing a warning when compiling etags.c.

gcc     -I. -I../src -I../lib -I. -I./../src -I./../lib
-L/usr/local/lib64 -Wl,-R,/usr/local/lib64 -Wl,--enable-new-dtags
-I/usr/local/include -DNDEBUG -g2 -O2 -march=native -fPIC
-DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"26.2\"" -o etags etags.c
regex.o  ../lib/libgnu.a
etags.c:88: warning: "NDEBUG" redefined
 #  define NDEBUG  /* disable assert */

Maybe guard the define?

Hat tip for building a release version of the software out of the box.

Jeff



             reply	other threads:[~2019-05-03 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-03 14:50 Jeffrey Walton [this message]
2019-05-03 19:41 ` Emacs 26.2 etags.c warning Paul Eggert

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=CAH8yC8mCg-SfdXadQcYaNj-DtjqDCL6gwWSvAhRtbe+HERuzDw@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.