jonas / tig

Text-mode interface for git
https://jonas.github.io/tig/
GNU General Public License v2.0
12.49k stars 611 forks source link

DEFAULT_SOURCE is set by autoconf in ubuntu and generates notes #1259

Closed pdanpdan closed 1 year ago

pdanpdan commented 1 year ago
In file included from src/tig.c:16:
include/tig/tig.h:23: warning: "_DEFAULT_SOURCE" redefined
   23 | #define _DEFAULT_SOURCE
S["CURSES_CFLAGS"]="-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600"
CPPFLAGS =  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H
koutcher commented 1 year ago

Thanks for reporting the issue.

pdanpdan commented 1 year ago

Thank you