unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs 26.2 etags.c warning
@ 2019-05-03 14:50 Jeffrey Walton
  2019-05-03 19:41 ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Walton @ 2019-05-03 14:50 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-03 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-03 14:50 Emacs 26.2 etags.c warning Jeffrey Walton
2019-05-03 19:41 ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).