emacs-devel
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: etags.c:88:0: warning: "NDEBUG" redefined
Date: Sat, 21 Mar 2020 10:19:51 +0200

> From: Jeffrey Walton <address@hidden>
> 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 via email to

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