emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

etags.c:88:0: warning: "NDEBUG" redefined


From: Jeffrey Walton
Subject: etags.c:88:0: warning: "NDEBUG" redefined
Date: Sat, 21 Mar 2020 02:15:18 -0400

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]